Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000905/0.000905, allocations: 181.9 kB / 325.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006779/0.0006779, allocations: 89.69 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 15.78 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001172/0.1611, allocations: 1.113 MB / 0.8973 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.1613, allocations: 112.5 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.1613, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.1614, allocations: 4 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.1615, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.818e-05/0.1615, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.1615, allocations: 27.92 kB / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.1616, allocations: 4 kB / 0.8974 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.1617, allocations: 11.92 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.1617, allocations: 4 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1617, allocations: 0 / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-06/0.1618, allocations: 4 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1618, allocations: 19.91 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.1618, allocations: 0 / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.093e-05/0.1618, allocations: 32.05 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1619, allocations: 4 kB / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1619, allocations: 0 / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.1619, allocations: 0 / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003085/0.1622, allocations: 348.3 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1622, allocations: 8.031 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.079e-05/0.1623, allocations: 30.75 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.1623, allocations: 8.844 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.13e-05/0.1623, allocations: 160.4 kB / 0.898 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.1624, allocations: 4.359 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1624, allocations: 8.359 kB / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1625, allocations: 50.25 kB / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1625, allocations: 7.938 kB / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.1625, allocations: 0 / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1625, allocations: 3.938 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1627, allocations: 47.89 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.1629, allocations: 257 kB / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.163, allocations: 42.5 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.1631, allocations: 32.91 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1631, allocations: 0 / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.1631, allocations: 30.56 kB / 0.8985 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1631, allocations: 0 / 0.8985 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002771/0.1634, allocations: 101.6 kB / 0.8986 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.1635, allocations: 51.41 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.277e-05/0.1635, allocations: 105.8 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.1635, allocations: 25.7 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.1635, allocations: 88.05 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1636, allocations: 7.938 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.1636, allocations: 13.84 kB / 0.8989 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.1636, allocations: 314.8 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.1637, allocations: 23.98 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.1638, allocations: 15.98 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1639, allocations: 56.81 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1639, allocations: 3.938 kB / 0.8993 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001537/0.1641, allocations: 77.58 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1641, allocations: 8 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1641, allocations: 0 / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1641, allocations: 0 / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.1642, allocations: 11.98 kB / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.1642, allocations: 0 / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.1643, allocations: 20.02 kB / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1643, allocations: 0 / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.1643, allocations: 117.7 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1643, allocations: 0 / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.1644, allocations: 7.125 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1644, allocations: 0 / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1644, allocations: 256 / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1644, allocations: 3.984 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1645, allocations: 169.6 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1645, allocations: 3.938 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1645, allocations: 15.92 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1646, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.1646, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1646, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1646, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1648, allocations: 171.5 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.1648, allocations: 85.02 kB / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1648, allocations: 4 kB / 0.8999 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1649, allocations: 16.02 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1649, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1649, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.061e-05/0.1649, allocations: 83.27 kB / 0.9 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1649, allocations: 0 / 0.9 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001776/0.1651, allocations: 8 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003589/0.1655, allocations: 0.7163 MB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1657, allocations: 48 kB / 0.9008 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1657, allocations: 0 / 0.9008 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.1658, allocations: 27.91 kB / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.166, allocations: 4 kB / 0.9008 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.1665, allocations: 145.1 kB / 0.901 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.775e-05/0.1666, allocations: 0.677 MB / 0.9016 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.1666, allocations: 0 / 0.9016 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1667, allocations: 7.438 kB / 0.9016 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.1667, allocations: 0 / 0.9016 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1738/0.3404, allocations: 1.101 MB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.3407, allocations: 229.1 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/1.778, allocations: 8.938 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)