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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.181/1.181, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.539/1.539, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001279/0.001279, allocations: 76.31 kB / 0.6716 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1728, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001839/0.1747, allocations: 0.897 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1759, allocations: 1.177 MB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.1759, allocations: 4 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.176, allocations: 7.875 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.176, allocations: 19.78 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1765, allocations: 146.3 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1766, allocations: 171.7 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1767, allocations: 41.03 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.1768, allocations: 59.83 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.1769, allocations: 67.73 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.1769, allocations: 16 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.303e-05/0.177, allocations: 31.98 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.177, allocations: 19.92 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.1771, allocations: 75.69 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1773, allocations: 155.8 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1773, allocations: 3.984 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1773, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1773, allocations: 0 / 0.7863 GB, free: 10.46 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.000569/0.1779, allocations: 460.7 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1779, allocations: 12.03 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.178, allocations: 42.73 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.178, allocations: 12.84 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.1785, allocations: 252.2 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1785, allocations: 8.375 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.1785, allocations: 20.36 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1787, allocations: 93.06 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1788, allocations: 0 / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1788, allocations: 3.984 kB / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1788, allocations: 4 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.179, allocations: 51.89 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.1796, allocations: 388.4 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1797, allocations: 38.5 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.1798, allocations: 20.84 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1798, allocations: 3.984 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.18, allocations: 95.48 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.18, allocations: 4 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003754/0.1804, allocations: 141.3 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1804, allocations: 59.34 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.1805, allocations: 140.6 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1806, allocations: 33.7 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.1806, allocations: 116 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1807, allocations: 27.66 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.886e-05/0.1807, allocations: 45.69 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.1808, allocations: 326.8 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.181, allocations: 47.95 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.1812, allocations: 127.1 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1814, allocations: 204.6 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1815, allocations: 0 / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004335/0.1819, allocations: 247.1 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.1819, allocations: 40.34 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1819, allocations: 4 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.182, allocations: 8 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1821, allocations: 35.91 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1821, allocations: 4 kB / 0.7893 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.1823, allocations: 39.88 kB / 0.7893 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1823, allocations: 16.06 kB / 0.7893 GB, free: 7.023 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.07e-05/0.1824, allocations: 130.8 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1824, allocations: 15.8 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.1825, allocations: 16.72 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1825, allocations: 3.938 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1825, allocations: 0 / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1825, allocations: 0 / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.183, allocations: 398.4 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.183, allocations: 0 / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/0.1831, allocations: 24.33 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1831, allocations: 0 / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1831, allocations: 0 / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1831, allocations: 4 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1831, allocations: 0 / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.1835, allocations: 251.2 kB / 0.7901 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.1836, allocations: 84.95 kB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1836, allocations: 4 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.1837, allocations: 8.031 kB / 0.7902 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1837, allocations: 8 kB / 0.7902 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-06/0.1837, allocations: 3.984 kB / 0.7902 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.1838, allocations: 109.7 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1838, allocations: 0 / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000264/0.1841, allocations: 28 kB / 0.7904 GB, free: 5.855 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.0006188/0.1847, allocations: 0.7931 MB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.185, allocations: 187.2 kB / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1851, allocations: 0 / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1852, allocations: 40.66 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1854, allocations: 24.36 kB / 0.7914 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1875, allocations: 1.955 MB / 0.7933 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1877, allocations: 0.7123 MB / 0.794 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.1878, allocations: 12.66 kB / 0.794 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1878, allocations: 35.42 kB / 0.794 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1878, allocations: 0 / 0.794 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.121/3.309, allocations: 3.139 MB / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.992/13.3, allocations: 14.91 kB / 0.7971 GB, free: 14.87 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)