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.001697/0.001697, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002159/0.002159, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002066/0.002066, allocations: 63.88 kB / 1.155 GB, free: 25.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3862, allocations: 176.1 MB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002506/0.3887, allocations: 0.8518 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3906, allocations: 1.198 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.3907, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.3907, allocations: 7.875 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3908, allocations: 27.8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.3914, allocations: 150.9 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.3917, allocations: 159.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3918, allocations: 29.3 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.392, allocations: 67.81 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3921, allocations: 79.66 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.3921, allocations: 12 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.3922, allocations: 28 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.3923, allocations: 19.92 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.3923, allocations: 59.77 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.3926, allocations: 179.3 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3926, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3926, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3926, allocations: 0 / 1.33 GB, free: 13.97 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.0008251/0.3934, allocations: 419.9 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3935, allocations: 8.031 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.3935, allocations: 12.89 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.3941, allocations: 206.3 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3942, allocations: 8.375 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.3942, allocations: 12.38 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3944, allocations: 90.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3945, allocations: 3.938 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3945, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3945, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3947, allocations: 47.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007999/0.3955, allocations: 308.2 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3956, allocations: 38.56 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.3957, allocations: 28.77 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.3957, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.396, allocations: 99.42 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 4.038e-06/0.396, allocations: 7.984 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004725/0.3965, allocations: 137.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3965, allocations: 51.41 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3967, allocations: 147.5 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3967, allocations: 29.7 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3968, allocations: 120.1 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3969, allocations: 23.81 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.397, allocations: 49.69 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3971, allocations: 326.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3973, allocations: 77.66 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3976, allocations: 166.4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3979, allocations: 200.6 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3979, allocations: 3.938 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005558/0.3985, allocations: 272.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.3985, allocations: 33.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3986, allocations: 7.984 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3986, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3987, allocations: 31.92 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3987, allocations: 4.375 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.3989, allocations: 39.86 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.399, allocations: 15.98 kB / 1.333 GB, free: 10.7 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.0001459/0.3991, allocations: 132.9 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.3991, allocations: 11.91 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.3992, allocations: 20.7 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3992, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3992, allocations: 384 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3992, allocations: 3.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.3998, allocations: 346 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3998, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.3999, allocations: 11.98 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3999, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3999, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3999, allocations: 3.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3999, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.4004, allocations: 251.2 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.4004, allocations: 7.953 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4004, allocations: 0 / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.4005, allocations: 19.91 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.4006, allocations: 7.984 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4006, allocations: 4 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.964e-05/0.4007, allocations: 104.6 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4007, allocations: 0 / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002991/0.401, allocations: 35.92 kB / 1.334 GB, free: 9.688 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.0001824/0.4012, allocations: 108.5 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.4016, allocations: 192.9 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4016, allocations: 4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.4017, allocations: 36.61 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.4021, allocations: 28.3 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.4026, allocations: 264.8 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.197e-05/0.4027, allocations: 97.55 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.4028, allocations: 16.64 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.4029, allocations: 19.44 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4029, allocations: 0 / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of Templates: time 0.005202/0.4081, allocations: 1.85 MB / 1.336 GB, free: 7.051 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 -s gbode -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: 9.233885649999138]