Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001913/0.001913, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00219/0.00219, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.18/3.18, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 72.31 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3634, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002229/0.3656, allocations: 0.8909 MB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3673, allocations: 1.221 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.3674, allocations: 0 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.3674, allocations: 7.875 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.3675, allocations: 19.86 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.3681, allocations: 155.2 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.3683, allocations: 163.6 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3685, allocations: 37.27 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3686, allocations: 63.84 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.3687, allocations: 71.72 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.3688, allocations: 16 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/0.3688, allocations: 23.98 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.3689, allocations: 23.92 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.369, allocations: 71.7 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3692, allocations: 171.3 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3692, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3692, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3692, allocations: 3.984 kB / 1.33 GB, free: 14.48 MB / 1.029 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.0007764/0.37, allocations: 414 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.37, allocations: 8.031 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.3701, allocations: 16.83 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.3706, allocations: 195.9 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3706, allocations: 12.38 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.3707, allocations: 12.38 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3709, allocations: 94.14 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3709, allocations: 3.938 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3709, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3709, allocations: 4 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3711, allocations: 47.95 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.3719, allocations: 359.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.372, allocations: 38.56 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.3721, allocations: 24.84 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3721, allocations: 7.969 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3723, allocations: 95.42 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.654e-06/0.3723, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004468/0.3728, allocations: 141.5 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.3728, allocations: 55.34 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.373, allocations: 143.5 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.373, allocations: 29.7 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.3731, allocations: 120 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3731, allocations: 23.81 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.3732, allocations: 45.69 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3734, allocations: 330.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3735, allocations: 43.95 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.3737, allocations: 131.1 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.3741, allocations: 200.6 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3741, allocations: 0 / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005023/0.3746, allocations: 246.9 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.3746, allocations: 38.06 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3746, allocations: 4 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3747, allocations: 4.375 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3748, allocations: 27.98 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3748, allocations: 15.81 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.375, allocations: 43.84 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.375, allocations: 8 kB / 1.333 GB, free: 11.25 MB / 1.029 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.0001201/0.3752, allocations: 130.3 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.3752, allocations: 15.88 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.3752, allocations: 16.72 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3752, allocations: 8.031 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3752, allocations: 3.938 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3752, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.3758, allocations: 369.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3758, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.613e-05/0.3759, allocations: 15.98 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3759, allocations: 7.938 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3759, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3759, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3759, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.3764, allocations: 243.3 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.3764, allocations: 11.89 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3764, allocations: 4 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.3765, allocations: 12.03 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3765, allocations: 7.984 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.3766, allocations: 4 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.3766, allocations: 105.2 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3766, allocations: 3.938 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002982/0.3769, allocations: 35.92 kB / 1.334 GB, free: 10.2 MB / 1.029 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.0001575/0.3771, allocations: 111.2 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.3775, allocations: 163.4 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3775, allocations: 3.938 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3776, allocations: 39.91 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3779, allocations: 24.73 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.3785, allocations: 298.5 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.3789, allocations: 0.7084 MB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.47e-05/0.3789, allocations: 15.44 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3789, allocations: 0 / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of Templates: time 0.003845/0.3828, allocations: 1.743 MB / 1.337 GB, free: 7.043 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.179749034985434]