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.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.001163/0.001163, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002647, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00111/0.00111, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002495, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.142, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.934/1.934, allocations: 378.2 MB / 0.6076 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5293/2.463, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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 2.164e-06/2.164e-06, allocations: 0 / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.328e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001136/0.00116, allocations: 0.6425 MB / 0.7299 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.00233, allocations: 1.156 MB / 0.7311 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.002368, allocations: 2.75 kB / 0.7311 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002393, allocations: 7.922 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.00243, allocations: 6.609 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.002768, allocations: 119.6 kB / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.002952, allocations: 91.41 kB / 0.7313 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.003049, allocations: 5.375 kB / 0.7313 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.003144, allocations: 54.98 kB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.003234, allocations: 25.39 kB / 0.7314 GB, free: 2.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003256, allocations: 8 kB / 0.7314 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.003332, allocations: 15.98 kB / 0.7314 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.003352, allocations: 5.953 kB / 0.7314 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.003389, allocations: 17.7 kB / 0.7314 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.00353, allocations: 62.28 kB / 0.7315 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.99e-05/0.00355, allocations: 0 / 0.7315 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003551, allocations: 0.875 kB / 0.7315 GB, free: 2.406 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.003571, allocations: 0 / 0.7315 GB, free: 2.406 MB / 0.698 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.000446/0.004017, allocations: 283.7 kB / 0.7317 GB, free: 2.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.004053, allocations: 8.031 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.00409, allocations: 4.938 kB / 0.7317 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.831e-05/0.004189, allocations: 118.7 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.004201, allocations: 5.031 kB / 0.7319 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.004214, allocations: 4.375 kB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.177e-05/0.004296, allocations: 64.58 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004306, allocations: 1.906 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.004314, allocations: 384 / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.00432, allocations: 384 / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.004335, allocations: 7.938 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.004578, allocations: 161.3 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.004617, allocations: 19.33 kB / 0.7321 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.004628, allocations: 10.7 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.004633, allocations: 3.938 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.004755, allocations: 81.08 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.004757, allocations: 0 / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001308/0.004887, allocations: 49.62 kB / 0.7323 GB, free: 1.488 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.004932, allocations: 60.19 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.005004, allocations: 115.2 kB / 0.7324 GB, free: 1.293 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.005022, allocations: 30.64 kB / 0.7324 GB, free: 1.258 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.005067, allocations: 88.12 kB / 0.7325 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.005077, allocations: 8.812 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.005122, allocations: 25.7 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.005226, allocations: 318.8 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.005269, allocations: 47.47 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.005319, allocations: 68.89 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.005392, allocations: 81.95 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.005394, allocations: 0 / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001313/0.005525, allocations: 149 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.005569, allocations: 34.39 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.005574, allocations: 0 / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005586, allocations: 4.812 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.706e-05/0.005603, allocations: 4 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.005608, allocations: 4.516 kB / 0.7332 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.005728, allocations: 25.03 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.005741, allocations: 4 kB / 0.7333 GB, free: 348 kB / 0.698 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 6.802e-05/0.005809, allocations: 114.6 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.005818, allocations: 7.984 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.005847, allocations: 4.594 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.005852, allocations: 8.594 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.005855, allocations: 0 / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.005861, allocations: 1.156 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.154e-05/0.005922, allocations: 61.91 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.005925, allocations: 3.984 kB / 0.7335 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-06/0.005931, allocations: 4.969 kB / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.005938, allocations: 4 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005939, allocations: 0 / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.005943, allocations: 0.875 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.005944, allocations: 1.781 kB / 0.7335 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.005947, allocations: 7.938 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.00602, allocations: 69.12 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.006032, allocations: 3.984 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.006043, allocations: 0 / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.006071, allocations: 1.219 kB / 0.7336 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.006077, allocations: 7.938 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.006111, allocations: 16.83 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006111, allocations: 0 / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001244/0.006235, allocations: 16.75 kB / 0.7336 GB, free: 15.96 MB / 0.7136 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.000112/0.006347, allocations: 89.55 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.006481, allocations: 127.5 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.006486, allocations: 4 kB / 0.7338 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.006503, allocations: 16.83 kB / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.006609, allocations: 12.88 kB / 0.7338 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.007018, allocations: 125.4 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.007049, allocations: 55.36 kB / 0.734 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.007068, allocations: 0.875 kB / 0.734 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.007136, allocations: 63.36 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.007136, allocations: 8.969 kB / 0.7341 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.002795/0.009932, allocations: 1.349 MB / 0.7354 GB, free: 14.12 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068158502690494]