Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 69.95 kB / 0.671 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.163, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001812/0.1649, allocations: 0.9511 MB / 0.7837 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1661, allocations: 1.195 MB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.1662, allocations: 0 / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.1662, allocations: 7.938 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.1663, allocations: 7.875 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1667, allocations: 143.4 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1668, allocations: 155.6 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1669, allocations: 37.09 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.167, allocations: 59.83 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.1671, allocations: 59.73 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1671, allocations: 8 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.1672, allocations: 23.98 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.1672, allocations: 19.92 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/0.1673, allocations: 67.69 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1675, allocations: 155.7 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1675, allocations: 0 / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.72e-07/0.1675, allocations: 3.938 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1675, allocations: 8 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005572/0.1681, allocations: 460.7 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1681, allocations: 8.031 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.1682, allocations: 42.73 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1682, allocations: 12.84 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.1687, allocations: 248.3 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1687, allocations: 8.375 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1687, allocations: 12.38 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1689, allocations: 100.7 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.169, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.169, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.169, allocations: 3.984 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1691, allocations: 43.97 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.1697, allocations: 392.4 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1699, allocations: 42.55 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.1699, allocations: 24.84 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.17, allocations: 4.109 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1702, allocations: 99.28 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1702, allocations: 0 / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003643/0.1706, allocations: 141.4 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1706, allocations: 55.34 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.1707, allocations: 144.7 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1707, allocations: 29.7 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.1708, allocations: 123.9 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.1708, allocations: 19.72 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.1709, allocations: 45.69 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.171, allocations: 322.8 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1711, allocations: 48.34 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1713, allocations: 132 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1716, allocations: 200.6 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1716, allocations: 0 / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004297/0.1721, allocations: 254.7 kB / 0.7885 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1721, allocations: 33.7 kB / 0.7885 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1721, allocations: 4 kB / 0.7885 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1721, allocations: 7.984 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.1722, allocations: 28.3 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1722, allocations: 11.94 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1725, allocations: 35.91 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.1725, allocations: 19.98 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 9.168e-05/0.1726, allocations: 125.7 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.1726, allocations: 15.81 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.1726, allocations: 16.7 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1727, allocations: 7.938 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1727, allocations: 4 kB / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1727, allocations: 0 / 0.7888 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.1731, allocations: 394.4 kB / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1732, allocations: 0 / 0.7892 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.1732, allocations: 11.94 kB / 0.7892 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1733, allocations: 3.984 kB / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1733, allocations: 8 kB / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1733, allocations: 0 / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1733, allocations: 0 / 0.7892 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.1736, allocations: 239.3 kB / 0.7894 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.1737, allocations: 92.94 kB / 0.7895 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1737, allocations: 4 kB / 0.7895 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.1738, allocations: 11.98 kB / 0.7895 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1738, allocations: 4 kB / 0.7895 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1738, allocations: 7.984 kB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.1739, allocations: 109.6 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 4.125 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002651/0.1742, allocations: 28 kB / 0.7897 GB, free: 6.383 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0006167/0.1748, allocations: 0.7902 MB / 0.7905 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.1751, allocations: 183.8 kB / 0.7906 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1751, allocations: 0 / 0.7906 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1753, allocations: 39.91 kB / 0.7907 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1755, allocations: 15.98 kB / 0.7907 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.1776, allocations: 1.982 MB / 0.7926 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1778, allocations: 0.7006 MB / 0.7933 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.395e-05/0.1779, allocations: 16.64 kB / 0.7933 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.1779, allocations: 39.42 kB / 0.7934 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/0.1779, allocations: 0 / 0.7934 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4925/0.6704, allocations: 2.926 MB / 0.7962 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/0.6708, allocations: 218 kB / 0.7964 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.294, allocations: 2.812 kB / 0.7964 GB, free: 15.38 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)