Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.00143/0.00143, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002045/0.002045, allocations: 214 kB / 22.99 MB, free: 4.957 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.218/3.218, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [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.002466/0.002466, allocations: 63.36 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3707, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002621/0.3733, allocations: 1.016 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3758, allocations: 1.621 MB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.3759, allocations: 7.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3761, allocations: 15.75 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.3762, allocations: 43.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.3768, allocations: 228.3 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.3772, allocations: 327.3 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3774, allocations: 55.03 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3775, allocations: 135.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.3777, allocations: 115.6 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.3777, allocations: 32 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.3778, allocations: 51.97 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3779, allocations: 51.84 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.378, allocations: 107.6 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.3785, allocations: 370.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3785, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3785, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3785, allocations: 0 / 1.331 GB, free: 12.84 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000981/0.3795, allocations: 487.7 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3795, allocations: 8.031 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.3796, allocations: 20.84 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.38, allocations: 218.1 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.38, allocations: 16.66 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.3801, allocations: 28.36 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3805, allocations: 184.1 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3805, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3805, allocations: 11.98 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3805, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.3809, allocations: 136.7 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.3818, allocations: 0.5078 MB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.3823, allocations: 179.8 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3825, allocations: 64.83 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3825, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004076/0.3829, allocations: 207 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.3829, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.0007849/0.3837, allocations: 339.2 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3838, allocations: 55.41 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.384, allocations: 178.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.384, allocations: 45.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3842, allocations: 128.6 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.3842, allocations: 63.53 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3843, allocations: 73.69 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3845, allocations: 330.8 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.3848, allocations: 125.7 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.3851, allocations: 211.9 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.3854, allocations: 201 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3854, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006118/0.386, allocations: 377.4 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.3861, allocations: 43.5 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3861, allocations: 4 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3861, allocations: 4 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3862, allocations: 27.92 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3862, allocations: 7.938 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3865, allocations: 47.8 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.3865, allocations: 19.98 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0001787/0.3867, allocations: 153.8 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.3867, allocations: 23.83 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.3873, allocations: 273.7 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3873, allocations: 4 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3873, allocations: 0 / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3874, allocations: 0 / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.3883, allocations: 0.5763 MB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3883, allocations: 4.047 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.3884, allocations: 23.91 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3884, allocations: 0 / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.3884, allocations: 11.98 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3884, allocations: 0 / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3884, allocations: 0 / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.389, allocations: 363.4 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.389, allocations: 19.84 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.3891, allocations: 12 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.3892, allocations: 19.98 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.3893, allocations: 27.94 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3893, allocations: 12 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001133/0.3895, allocations: 127.2 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3895, allocations: 3.938 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003405/0.3898, allocations: 63.89 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00019/0.39, allocations: 121.2 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.3906, allocations: 328.8 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3906, allocations: 0 / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3908, allocations: 98.52 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3912, allocations: 39.97 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.392, allocations: 364.3 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3921, allocations: 121.3 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.3922, allocations: 25.94 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.3923, allocations: 23.44 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3923, allocations: 0 / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of Templates: time 0.008242/0.4005, allocations: 3.726 MB / 1.342 GB, free: 1.715 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.160184397987905]