Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001424/0.001424, allocations: 110 kB / 18.93 MB, free: 2.945 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.001605/0.001605, allocations: 191 kB / 22.23 MB, free: 5.16 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.541/1.541, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 496 MB / 0.7835 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 65.7 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4163, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002364/0.4187, allocations: 0.6093 MB / 1.308 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.4205, allocations: 1.124 MB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.4206, allocations: 4 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.4206, allocations: 3.938 kB / 1.309 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.736e-05/0.4207, allocations: 3.938 kB / 1.309 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.4214, allocations: 115 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.4216, allocations: 95.81 kB / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.4217, allocations: 0 / 1.309 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.4218, allocations: 35.92 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.422, allocations: 35.94 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.422, allocations: 8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.016e-05/0.4221, allocations: 23.98 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.4221, allocations: 3.938 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.4222, allocations: 31.92 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.4224, allocations: 79.78 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4224, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4224, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.4224, allocations: 0 / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005458/0.423, allocations: 303.9 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.423, allocations: 8.922 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.4231, allocations: 16.81 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4232, allocations: 110.5 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4232, allocations: 4.375 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.4233, allocations: 8.375 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4234, allocations: 34.25 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4234, allocations: 192 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4234, allocations: 3.938 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4234, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.4234, allocations: 8 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.4239, allocations: 255.9 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.4239, allocations: 30.5 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.424, allocations: 8.922 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.424, allocations: 3.984 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.4242, allocations: 63.34 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.4242, allocations: 0 / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000215/0.4244, allocations: 65.62 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4244, allocations: 51.41 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4246, allocations: 105.8 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4246, allocations: 33.7 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.4247, allocations: 84.14 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.4247, allocations: 3.953 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.4247, allocations: 29.7 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4249, allocations: 322.8 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.425, allocations: 27.98 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.4251, allocations: 46.56 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.4252, allocations: 80.2 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4252, allocations: 3.938 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002751/0.4255, allocations: 151.3 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.4256, allocations: 37.69 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4256, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4256, allocations: 4.312 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.4256, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4256, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4258, allocations: 35.91 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.4258, allocations: 7.984 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001195/0.426, allocations: 130.5 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.426, allocations: 7.938 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.426, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.426, allocations: 4 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.426, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.426, allocations: 3.938 kB / 1.311 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.4262, allocations: 132.7 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4262, allocations: 0 / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-06/0.4262, allocations: 4 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4262, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4262, allocations: 4 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4262, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4262, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4263, allocations: 85.02 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.4263, allocations: 3.984 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.4263, allocations: 3.938 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.485e-05/0.4263, allocations: 0 / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.4264, allocations: 8 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4264, allocations: 4.281 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.4264, allocations: 83.27 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4264, allocations: 0 / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002135/0.4267, allocations: 20 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001588/0.4268, allocations: 95.25 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.427, allocations: 107.4 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.427, allocations: 0 / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.4271, allocations: 16.09 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.4273, allocations: 21.81 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.4276, allocations: 122.1 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.428, allocations: 0.6768 MB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.445e-05/0.4281, allocations: 3.984 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.4281, allocations: 11.44 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.4281, allocations: 0 / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of Templates: time 0.004259/0.4324, allocations: 1.096 MB / 1.314 GB, free: 10.73 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.378540852107108]