Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 187.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.6 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 53.17 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3002, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.001901/0.3021, allocations: 0.9268 MB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3034, allocations: 1.191 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.3034, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.3035, allocations: 7.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.3036, allocations: 11.86 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.304, allocations: 143 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3041, allocations: 151.7 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3043, allocations: 33.09 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.3044, allocations: 59.81 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.3044, allocations: 59.75 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.3045, allocations: 15.94 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.3045, allocations: 23.98 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.3046, allocations: 27.91 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.3046, allocations: 59.7 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3048, allocations: 153.6 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3048, allocations: 3.984 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3048, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3048, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 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.0005771/0.3054, allocations: 456.8 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3055, allocations: 19.92 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.3055, allocations: 20.75 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.306, allocations: 240.3 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.306, allocations: 8.375 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.306, allocations: 16.38 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3062, allocations: 82.2 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3063, allocations: 7.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3063, allocations: 8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3063, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3065, allocations: 55.83 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.3071, allocations: 388.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3072, allocations: 34.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.3073, allocations: 28.95 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3073, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.3076, allocations: 95.36 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.3076, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.000396/0.308, allocations: 129.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.308, allocations: 67.27 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.3081, allocations: 143.9 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3081, allocations: 38.02 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.3082, allocations: 108 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3082, allocations: 35.53 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.3083, allocations: 41.7 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.3084, allocations: 326.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3085, allocations: 51.95 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3087, allocations: 127.8 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.309, allocations: 212.6 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.309, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003989/0.3094, allocations: 247.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3094, allocations: 35.27 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3094, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3095, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.3096, allocations: 27.92 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3096, allocations: 15.86 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3098, allocations: 31.97 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.3098, allocations: 12 kB / 1.224 GB, free: 111 MB / 0.823 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 8.447e-05/0.3099, allocations: 137 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.31, allocations: 11.81 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.31, allocations: 12.72 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.31, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.31, allocations: 7.938 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.31, allocations: 8.016 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.3104, allocations: 394.4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3105, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.3106, allocations: 15.98 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3106, allocations: 3.938 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3106, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3106, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3106, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.3114, allocations: 1.148 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.3115, allocations: 85.02 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3115, allocations: 11.97 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.3116, allocations: 8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3116, allocations: 7.984 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.3116, allocations: 4 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.3117, allocations: 115.8 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3117, allocations: 0 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003326/0.312, allocations: 32 kB / 1.226 GB, free: 108.7 MB / 0.823 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.0001666/0.3122, allocations: 111.2 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3125, allocations: 183.1 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3125, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.3127, allocations: 39.97 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3129, allocations: 25.88 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.3134, allocations: 425.2 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3135, allocations: 0.7126 MB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.3136, allocations: 16.64 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.3136, allocations: 11.44 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.3136, allocations: 4 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of Templates: time 0.003695/0.3173, allocations: 1.61 MB / 1.229 GB, free: 105.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)