Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.344/1.344, 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.0008083/0.0008083, allocations: 171.4 kB / 325.8 MB, free: 2.676 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.509/1.509, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007772/0.0007772, allocations: 93.7 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8.719 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001183/0.1651, allocations: 1.034 MB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000331/0.1655, allocations: 197 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.1656, allocations: 0 / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.1656, allocations: 0 / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.1657, allocations: 11.92 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.1658, allocations: 4 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.544e-05/0.1659, allocations: 27.92 kB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.166, allocations: 4 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.166, allocations: 11.92 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.166, allocations: 19.92 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1661, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.1661, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1661, allocations: 7.938 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.1661, allocations: 15.97 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.956e-05/0.1662, allocations: 24.12 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1662, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1662, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1662, allocations: 0 / 0.8975 GB, free: 66.7 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.0003479/0.1666, allocations: 335.6 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1666, allocations: 12.03 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.1667, allocations: 30.75 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1667, allocations: 4.844 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.241e-05/0.1668, allocations: 176.3 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1668, allocations: 384 / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.1668, allocations: 4.375 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.371e-05/0.1669, allocations: 38.25 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1669, allocations: 3.938 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1669, allocations: 11.88 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1669, allocations: 0 / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.167, allocations: 8 kB / 0.8981 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.1672, allocations: 252.9 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.1673, allocations: 26.52 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.1673, allocations: 12.92 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.1673, allocations: 4 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.1674, allocations: 63.33 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1674, allocations: 0 / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.1676, allocations: 53.59 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.1676, allocations: 55.39 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.1677, allocations: 113.8 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.1677, allocations: 25.7 kB / 0.8987 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.1677, allocations: 88.14 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.1677, allocations: 3.906 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.1677, allocations: 13.72 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.1678, allocations: 318.8 kB / 0.8991 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.1678, allocations: 11.98 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.1678, allocations: 13.72 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.1679, allocations: 33.66 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1679, allocations: 0 / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.153e-05/0.1679, allocations: 49.62 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.168, allocations: 8 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.168, allocations: 0 / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.168, allocations: 336 / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.963e-05/0.168, allocations: 4 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.168, allocations: 0 / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.1681, allocations: 7.984 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1681, allocations: 4.031 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.889e-05/0.1682, allocations: 121.8 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.1682, allocations: 4 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.1682, allocations: 3.5 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1682, allocations: 3.984 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1682, allocations: 3.938 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1682, allocations: 0 / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.527e-05/0.1683, allocations: 169.5 kB / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1683, allocations: 0 / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-06/0.1683, allocations: 0 / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1683, allocations: 4 kB / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1683, allocations: 3.984 kB / 0.8995 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1683, allocations: 0 / 0.8995 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1683, allocations: 7.938 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.03e-05/0.1684, allocations: 72.97 kB / 0.8996 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.1684, allocations: 81.11 kB / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1685, allocations: 0 / 0.8997 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.1685, allocations: 15.98 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1686, allocations: 4 kB / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1686, allocations: 0 / 0.8997 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.263e-05/0.1686, allocations: 87.27 kB / 0.8998 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.81e-07/0.1686, allocations: 0 / 0.8998 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001587/0.1688, allocations: 7.938 kB / 0.8998 GB, free: 64.02 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002132/0.169, allocations: 0.6129 MB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.1691, allocations: 19.92 kB / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1691, allocations: 4 kB / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.1691, allocations: 4 kB / 0.9004 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.1693, allocations: 15.92 kB / 0.9004 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.1699, allocations: 1.143 MB / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.227e-05/0.17, allocations: 0.677 MB / 0.9022 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.17, allocations: 4 kB / 0.9022 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.1701, allocations: 11.38 kB / 0.9022 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.232e-06/0.1701, allocations: 0 / 0.9022 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2694/0.4395, allocations: 1.187 MB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.4398, allocations: 217.1 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.018, allocations: 0 / 0.9036 GB, free: 60.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)