Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.433/1.433, allocations: 287.4 MB / 302.6 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 192 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.4 MB / 0.6298 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006765/0.0006765, allocations: 106.2 kB / 0.7431 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003465, allocations: 16.36 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 115.3 MB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.0008367/0.1733, allocations: 0.5844 MB / 0.9793 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1746, allocations: 1.15 MB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.1747, allocations: 4 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.1748, allocations: 7.875 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.455e-05/0.1749, allocations: 11.86 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1754, allocations: 132.1 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1755, allocations: 139.6 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1756, allocations: 33.09 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.1757, allocations: 55.81 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.1758, allocations: 47.83 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1758, allocations: 8 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.1759, allocations: 23.98 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.1759, allocations: 19.91 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.176, allocations: 45.64 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.1761, allocations: 115.9 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1761, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1761, allocations: 4 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1761, allocations: 0 / 0.9811 GB, free: 25.66 MB / 0.6198 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.0004863/0.1766, allocations: 432.8 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1766, allocations: 12.03 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.1767, allocations: 38.75 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.1767, allocations: 20.83 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.1772, allocations: 262.4 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1772, allocations: 8.375 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1773, allocations: 12.38 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1775, allocations: 93.95 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1775, allocations: 3.938 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1775, allocations: 4 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1775, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1777, allocations: 63.89 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.1783, allocations: 388.5 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1784, allocations: 46.48 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.1785, allocations: 24.97 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1785, allocations: 4 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.1787, allocations: 103.2 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1787, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003642/0.1791, allocations: 149.5 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.1791, allocations: 59.28 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.1792, allocations: 137.8 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1792, allocations: 33.69 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.1793, allocations: 116 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.1793, allocations: 31.59 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.1793, allocations: 0 / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.1794, allocations: 330.8 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1795, allocations: 47.95 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1797, allocations: 136.8 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.1799, allocations: 208.6 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1799, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003865/0.1803, allocations: 247 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.1803, allocations: 40.19 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1804, allocations: 4 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1804, allocations: 4 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.1805, allocations: 36.23 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1805, allocations: 11.98 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1807, allocations: 52.17 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1807, allocations: 12 kB / 0.9841 GB, free: 22.23 MB / 0.6198 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 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/0.1808, allocations: 137.7 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1808, allocations: 11.89 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.1809, allocations: 20.66 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1809, allocations: 3.938 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1809, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1809, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1813, allocations: 402.5 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1813, allocations: 0 / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.1814, allocations: 27.86 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1814, allocations: 4.031 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1814, allocations: 4 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1814, allocations: 0 / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1814, allocations: 0 / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1818, allocations: 255.2 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.1818, allocations: 88.95 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1818, allocations: 4 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.1819, allocations: 12.03 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.182, allocations: 15.92 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.182, allocations: 4 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.182, allocations: 101.2 kB / 0.9851 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.182, allocations: 0 / 0.9851 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002345/0.1823, allocations: 31.98 kB / 0.9852 GB, free: 21.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004855/0.1827, allocations: 0.8062 MB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1831, allocations: 195.1 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1831, allocations: 0.75 kB / 0.9861 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1832, allocations: 47.91 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.1834, allocations: 15.98 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1846, allocations: 0.8931 MB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.1847, allocations: 0.7083 MB / 0.9878 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.541e-05/0.1848, allocations: 16.64 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.1848, allocations: 39.42 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1848, allocations: 0 / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/0.4516, allocations: 2.801 MB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.4518, allocations: 207.2 kB / 0.9908 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.182, allocations: 3.938 kB / 0.9908 GB, free: 15.31 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)