Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001531/0.001531, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001607/0.001607, allocations: 165.6 kB / 22.46 MB, free: 5.355 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.794/2.794, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.579e-06/4.579e-06, allocations: 0 / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 6.373e-05/6.831e-05, allocations: 5.516 kB / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.003882/0.00395, allocations: 0.8468 MB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.006256, allocations: 1.198 MB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.006359, allocations: 4 kB / 0.953 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.504e-05/0.006414, allocations: 11.86 kB / 0.9531 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.00653, allocations: 15.8 kB / 0.9531 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.007217, allocations: 159 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.007531, allocations: 163.6 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.007695, allocations: 29.28 kB / 0.9534 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.007921, allocations: 95.84 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.008068, allocations: 55.86 kB / 0.9536 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.008117, allocations: 16 kB / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.008209, allocations: 23.98 kB / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.008252, allocations: 23.91 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.008344, allocations: 47.91 kB / 0.9537 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.008707, allocations: 195.4 kB / 0.9538 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.008712, allocations: 3.938 kB / 0.9539 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.008714, allocations: 0 / 0.9539 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.008722, allocations: 3.938 kB / 0.9539 GB, free: 8.59 MB / 0.8575 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.0008979/0.00962, allocations: 418 kB / 0.9543 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.009666, allocations: 12.03 kB / 0.9543 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.009748, allocations: 16.84 kB / 0.9543 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.01032, allocations: 181.8 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01035, allocations: 8.375 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.01039, allocations: 12.38 kB / 0.9545 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.01065, allocations: 94.14 kB / 0.9546 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01066, allocations: 4.188 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.01067, allocations: 8.312 kB / 0.9546 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.01068, allocations: 4.125 kB / 0.9546 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.01089, allocations: 47.95 kB / 0.9546 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.01168, allocations: 316.2 kB / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.01183, allocations: 34.56 kB / 0.955 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.01194, allocations: 28.97 kB / 0.955 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.01196, allocations: 0 / 0.955 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.0123, allocations: 95.28 kB / 0.9551 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.0123, allocations: 0 / 0.9551 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005038/0.01281, allocations: 137.5 kB / 0.9552 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.01287, allocations: 55.41 kB / 0.9553 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.01303, allocations: 148.2 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.01307, allocations: 29.7 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01318, allocations: 112 kB / 0.9555 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.01321, allocations: 35.81 kB / 0.9556 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.01331, allocations: 45.69 kB / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.01349, allocations: 326.8 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.01369, allocations: 78.03 kB / 0.956 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.01395, allocations: 164.8 kB / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.01433, allocations: 208.6 kB / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01433, allocations: 0 / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00058/0.01491, allocations: 276.6 kB / 0.9566 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.01496, allocations: 36.11 kB / 0.9567 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01497, allocations: 11.94 kB / 0.9567 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01499, allocations: 4 kB / 0.9567 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01511, allocations: 27.97 kB / 0.9567 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01512, allocations: 7.938 kB / 0.9567 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.01536, allocations: 35.91 kB / 0.9567 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.0154, allocations: 15.98 kB / 0.9568 GB, free: 5.312 MB / 0.8575 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.0001303/0.01553, allocations: 128.6 kB / 0.9569 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.01555, allocations: 19.91 kB / 0.9569 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.01559, allocations: 12.77 kB / 0.9569 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01559, allocations: 4 kB / 0.9569 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01559, allocations: 0 / 0.9569 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.0156, allocations: 0 / 0.9569 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/0.0162, allocations: 338 kB / 0.9572 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01621, allocations: 0 / 0.9572 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.644e-05/0.0163, allocations: 12 kB / 0.9572 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.0163, allocations: 4 kB / 0.9573 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01632, allocations: 3.984 kB / 0.9573 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01632, allocations: 4 kB / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01632, allocations: 0 / 0.9573 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.01682, allocations: 243.3 kB / 0.9575 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.01684, allocations: 15.92 kB / 0.9575 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01686, allocations: 0 / 0.9575 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.01695, allocations: 4 kB / 0.9575 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.017, allocations: 19.97 kB / 0.9575 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.01702, allocations: 7.938 kB / 0.9575 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.0171, allocations: 105.2 kB / 0.9576 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.0171, allocations: 192 / 0.9576 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003126/0.01741, allocations: 35.89 kB / 0.9577 GB, free: 4.316 MB / 0.8575 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.0002022/0.01762, allocations: 115 kB / 0.9578 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.01807, allocations: 197.2 kB / 0.958 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.01808, allocations: 3.984 kB / 0.958 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.01821, allocations: 35.92 kB / 0.958 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.01853, allocations: 15.98 kB / 0.958 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.01916, allocations: 249.6 kB / 0.9583 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.0193, allocations: 102.2 kB / 0.9584 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.392e-05/0.01937, allocations: 20.42 kB / 0.9584 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.0194, allocations: 16.5 kB / 0.9584 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.0194, allocations: 0 / 0.9584 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of Templates: time 0.005981/0.02538, allocations: 1.737 MB / 0.9601 GB, free: 1.809 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.268525548279285]