Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.032/5.032, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00268/0.002678, allocations: 356.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.289/4.289, allocations: 410.7 MB / 1.112 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002006/0.002006, allocations: 179.6 kB / 1.225 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005101, allocations: 16 kB / 1.348 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5912, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.000985/0.5922, allocations: 0.5823 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.5937, allocations: 1.135 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.5938, allocations: 2.344 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.5938, allocations: 3.938 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.704e-05/0.5939, allocations: 11.91 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.5944, allocations: 128.4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.5946, allocations: 140.4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.5947, allocations: 28.84 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.5948, allocations: 51.84 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.5949, allocations: 59.67 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.595, allocations: 8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.595, allocations: 21.55 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.5951, allocations: 15.92 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.5951, allocations: 45.64 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.5953, allocations: 109.8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5953, allocations: 0.6562 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.04e-06/0.5953, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.5953, allocations: 0.5938 kB / 1.463 GB, free: 282 MB / 0.8542 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.000538/0.5959, allocations: 447.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5959, allocations: 11.62 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.596, allocations: 11.91 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.5966, allocations: 263.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.5966, allocations: 8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.5967, allocations: 12 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.5969, allocations: 95.14 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5969, allocations: 0.5625 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.597, allocations: 7.984 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.846e-06/0.597, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.5972, allocations: 49.64 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.598, allocations: 399.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.5982, allocations: 43.98 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.5983, allocations: 30.94 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.5983, allocations: 1.078 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.5986, allocations: 102.7 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 3.401e-06/0.5986, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0004849/0.5991, allocations: 143.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.5992, allocations: 55.94 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5993, allocations: 146.1 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.5994, allocations: 30.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.5995, allocations: 113 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.5995, allocations: 31.64 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.5996, allocations: 8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.5996, allocations: 324.1 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.5998, allocations: 54.02 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.6001, allocations: 134 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.6003, allocations: 95.12 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.582e-06/0.6003, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005813/0.6009, allocations: 250.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.6009, allocations: 36.02 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.601, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.601, allocations: 8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.6011, allocations: 27.97 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6012, allocations: 7.938 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.6015, allocations: 50.56 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.6015, allocations: 12.83 kB / 1.466 GB, free: 278.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 ($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 0.0001511/0.6017, allocations: 134.6 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.6017, allocations: 11.91 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.6018, allocations: 14.81 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-06/0.6018, allocations: 7.156 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6018, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.77e-06/0.6018, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.6025, allocations: 411.5 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-06/0.6025, allocations: 7.984 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.6026, allocations: 12.97 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6026, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.6027, allocations: 8.609 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.6027, allocations: 0 / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.019e-06/0.6027, allocations: 1.125 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.6031, allocations: 250.1 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.6032, allocations: 90.2 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.6032, allocations: 5.031 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.6034, allocations: 4.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.6034, allocations: 15.58 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.6034, allocations: 11.98 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.6035, allocations: 99.27 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.498e-06/0.6035, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003987/0.6039, allocations: 39.78 kB / 1.467 GB, free: 277.6 MB / 0.8542 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.0001462/0.6041, allocations: 111.2 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.6046, allocations: 190.4 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.304e-06/0.6046, allocations: 0.5 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6047, allocations: 45.44 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.6051, allocations: 25.98 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.6057, allocations: 295.3 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.6059, allocations: 0.7144 MB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.151e-05/0.606, allocations: 13.09 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.606, allocations: 15.44 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.646e-06/0.606, allocations: 3.938 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005205/0.6113, allocations: 1.48 MB / 1.47 GB, free: 274.8 MB / 0.8542 GB