Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.4 MB / 0.7286 GB, free: 13.44 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.88 kB / 1.056 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 160.7 MB / 1.213 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002629/1.04, allocations: 0.899 MB / 1.214 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001942/1.042, allocations: 1.184 MB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/1.042, allocations: 5.094 kB / 1.215 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/1.042, allocations: 7.875 kB / 1.215 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/1.042, allocations: 26.97 kB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/1.043, allocations: 152.1 kB / 1.216 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/1.043, allocations: 167.6 kB / 1.216 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/1.043, allocations: 27.55 kB / 1.216 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/1.043, allocations: 61.55 kB / 1.216 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/1.043, allocations: 73.03 kB / 1.216 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/1.043, allocations: 18.84 kB / 1.216 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/1.043, allocations: 28.61 kB / 1.216 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/1.043, allocations: 21.17 kB / 1.216 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/1.043, allocations: 69.05 kB / 1.216 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/1.044, allocations: 170 kB / 1.216 GB, free: 1.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/1.044, allocations: 5.297 kB / 1.216 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/1.044, allocations: 0 / 1.216 GB, free: 1.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.044, allocations: 3.938 kB / 1.216 GB, free: 1.969 MB / 0.92 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.000814/1.045, allocations: 460.7 kB / 1.217 GB, free: 1.508 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.045, allocations: 10.19 kB / 1.217 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/1.045, allocations: 17.66 kB / 1.217 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/1.045, allocations: 253 kB / 1.217 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.045, allocations: 9.688 kB / 1.217 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/1.045, allocations: 13.91 kB / 1.217 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/1.046, allocations: 93.98 kB / 1.217 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.046, allocations: 5.062 kB / 1.217 GB, free: 1.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.046, allocations: 3.984 kB / 1.217 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.046, allocations: 2.625 kB / 1.217 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/1.046, allocations: 46.58 kB / 1.217 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007539/1.047, allocations: 389.2 kB / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.047, allocations: 37.91 kB / 1.218 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/1.047, allocations: 23.89 kB / 1.218 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/1.047, allocations: 1.25 kB / 1.218 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/1.047, allocations: 103.9 kB / 1.218 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/1.047, allocations: 0 / 1.218 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004569/1.048, allocations: 136.8 kB / 1.218 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/1.048, allocations: 56.62 kB / 1.218 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/1.048, allocations: 141.6 kB / 1.218 GB, free: 380 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/1.048, allocations: 32.36 kB / 1.218 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/1.048, allocations: 118.9 kB / 1.218 GB, free: 228 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/1.048, allocations: 32.14 kB / 1.218 GB, free: 200 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/1.048, allocations: 40.33 kB / 1.218 GB, free: 172 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.048, allocations: 325.9 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/1.048, allocations: 46.61 kB / 1.219 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/1.049, allocations: 132.8 kB / 1.219 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/1.049, allocations: 198.8 kB / 1.219 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.049, allocations: 1.469 kB / 1.219 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005375/1.049, allocations: 245.6 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/1.05, allocations: 41.34 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.05, allocations: 3.094 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.05, allocations: 4.5 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.05, allocations: 29.33 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/1.05, allocations: 12.88 kB / 1.219 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/1.05, allocations: 36.98 kB / 1.219 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/1.05, allocations: 14.5 kB / 1.219 GB, free: 15.27 MB / 0.9356 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.0001565/1.05, allocations: 135.2 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/1.05, allocations: 12.44 kB / 1.219 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/1.05, allocations: 15 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.05, allocations: 1.156 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.05, allocations: 9.094 kB / 1.219 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.05, allocations: 0 / 1.219 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/1.051, allocations: 398.7 kB / 1.22 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.051, allocations: 1.125 kB / 1.22 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/1.051, allocations: 12.86 kB / 1.22 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.051, allocations: 5.281 kB / 1.22 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.051, allocations: 5.125 kB / 1.22 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.051, allocations: 1.188 kB / 1.22 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.051, allocations: 0 / 1.22 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/1.051, allocations: 247.2 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/1.052, allocations: 87.16 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/1.052, allocations: 2.094 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.222e-05/1.052, allocations: 7.438 kB / 1.22 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/1.052, allocations: 15.98 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.052, allocations: 3.156 kB / 1.22 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001031/1.052, allocations: 103.2 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.052, allocations: 0 / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000315/1.052, allocations: 43.34 kB / 1.22 GB, free: 14.31 MB / 0.9356 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.0002203/1.052, allocations: 103.2 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000408/1.053, allocations: 164.6 kB / 1.221 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.053, allocations: 0.75 kB / 1.221 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/1.053, allocations: 41.91 kB / 1.221 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/1.053, allocations: 20.33 kB / 1.221 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/1.054, allocations: 269.6 kB / 1.221 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/1.054, allocations: 0.7148 MB / 1.222 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.88e-05/1.054, allocations: 8.328 kB / 1.222 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/1.054, allocations: 26.77 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/1.054, allocations: 1.125 kB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.005722/1.06, allocations: 1.668 MB / 1.223 GB, free: 12.29 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.227330710738897]