Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9894/0.9894, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.27/2.27, allocations: 429.5 MB / 0.6733 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.709e-06/4.709e-06, allocations: 0 / 0.8783 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.812e-05/4.283e-05, allocations: 3.25 kB / 0.8783 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00258/0.002623, allocations: 0.8855 MB / 0.8791 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.004867, allocations: 1.217 MB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004995, allocations: 0 / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.005053, allocations: 12.42 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.005187, allocations: 24.66 kB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.005922, allocations: 156.7 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.006254, allocations: 171.6 kB / 0.8807 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.00644, allocations: 22.33 kB / 0.8807 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.006645, allocations: 103.8 kB / 0.8808 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006791, allocations: 48.98 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.006828, allocations: 12 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-05/0.00692, allocations: 23.98 kB / 0.8809 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.006957, allocations: 17.05 kB / 0.8809 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.007048, allocations: 51.89 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.007333, allocations: 123.5 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.00734, allocations: 1.031 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.954e-06/0.007342, allocations: 0 / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.007349, allocations: 0 / 0.881 GB, free: 3.426 MB / 0.8386 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.0009087/0.008258, allocations: 0.5149 MB / 0.8815 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.008321, allocations: 12.03 kB / 0.8816 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.008416, allocations: 20.84 kB / 0.8816 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.00887, allocations: 152.4 kB / 0.8817 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.008911, allocations: 13.38 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.008981, allocations: 16.38 kB / 0.8818 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.009261, allocations: 82.92 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.009272, allocations: 1.281 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.009289, allocations: 4.359 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.009302, allocations: 4.375 kB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.009359, allocations: 24.58 kB / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.01023, allocations: 365.6 kB / 0.8822 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.01033, allocations: 31.05 kB / 0.8822 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.01036, allocations: 15.81 kB / 0.8823 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.01039, allocations: 4 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.01059, allocations: 84.09 kB / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 5.5e-06/0.0106, allocations: 0 / 0.8823 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003277/0.01093, allocations: 109.5 kB / 0.8824 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.01098, allocations: 55.34 kB / 0.8825 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01115, allocations: 196.5 kB / 0.8827 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.01118, allocations: 33.69 kB / 0.8827 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.01127, allocations: 158.8 kB / 0.8829 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.01129, allocations: 29.2 kB / 0.8829 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.01136, allocations: 55.34 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.01151, allocations: 0.4961 MB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-05/0.01161, allocations: 61.67 kB / 0.8835 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.01173, allocations: 190 kB / 0.8837 GB, free: 464 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.0119, allocations: 208.6 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.0119, allocations: 3.938 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003261/0.01223, allocations: 252.7 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.01227, allocations: 36.11 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01228, allocations: 8 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.0123, allocations: 4 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01242, allocations: 27.92 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01243, allocations: 4 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01254, allocations: 27.97 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.01256, allocations: 12 kB / 0.8842 GB, free: 15.8 MB / 0.8542 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 0.0001128/0.01267, allocations: 183.9 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.0127, allocations: 15.91 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.01273, allocations: 12.78 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01274, allocations: 4 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.01275, allocations: 0 / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01275, allocations: 0 / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.0132, allocations: 365.3 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.0132, allocations: 0 / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.01327, allocations: 19.92 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01327, allocations: 0 / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01328, allocations: 4 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01329, allocations: 0 / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01329, allocations: 4 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.01351, allocations: 260.2 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.01352, allocations: 8.047 kB / 0.8851 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.01354, allocations: 7.984 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.307e-05/0.01358, allocations: 4 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.01363, allocations: 19.91 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01364, allocations: 0 / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.01371, allocations: 148.7 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01371, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002278/0.01393, allocations: 35.89 kB / 0.8853 GB, free: 14.66 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0002089/0.01414, allocations: 107.2 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01439, allocations: 184.6 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.0144, allocations: 0 / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.01444, allocations: 31.61 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.0147, allocations: 32.67 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.01523, allocations: 250.4 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.01528, allocations: 71.83 kB / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.496e-05/0.01532, allocations: 12.66 kB / 0.8859 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.01535, allocations: 20.48 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of SimCode: time 1.503e-06/0.01535, allocations: 0 / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.004562/0.01992, allocations: 1.864 MB / 0.8878 GB, free: 12.05 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.617319006938487]