Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.002049/0.002049, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.002882/0.002882, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.531/1.531, allocations: 177.1 MB / 202.8 MB, free: 9.191 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.912/2.912, 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.37e-05, allocations: 6.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002109/0.002143, allocations: 0.7287 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.004262, allocations: 1.163 MB / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.004345, allocations: 11.94 kB / 0.9528 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.004382, allocations: 7.922 kB / 0.9529 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.004484, allocations: 7.875 kB / 0.9529 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.005096, allocations: 142.5 kB / 0.953 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.00534, allocations: 111.8 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.005454, allocations: 11.92 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.005615, allocations: 59.95 kB / 0.9532 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.005721, allocations: 43.86 kB / 0.9532 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.005757, allocations: 16 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.005831, allocations: 20 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.005858, allocations: 11.98 kB / 0.9533 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.005936, allocations: 39.89 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.00619, allocations: 131.6 kB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.006192, allocations: 0 / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006193, allocations: 0 / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.006199, allocations: 0 / 0.9534 GB, free: 9.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006876/0.006886, allocations: 334.2 kB / 0.9537 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.513e-05/0.006961, allocations: 12.03 kB / 0.9538 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.007016, allocations: 12.89 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.007134, allocations: 117.7 kB / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.007155, allocations: 4.375 kB / 0.9539 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.007185, allocations: 8.375 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.0074, allocations: 62.22 kB / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.007409, allocations: 192 / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.00742, allocations: 384 / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.007432, allocations: 8.359 kB / 0.954 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.007631, allocations: 47.89 kB / 0.954 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.008125, allocations: 260.4 kB / 0.9542 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.008328, allocations: 54.61 kB / 0.9543 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.008443, allocations: 32.95 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.008456, allocations: 3.938 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.008739, allocations: 99.19 kB / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.00874, allocations: 4 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004866/0.009227, allocations: 141.6 kB / 0.9546 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.009272, allocations: 55.41 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.009386, allocations: 125.6 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.009418, allocations: 33.64 kB / 0.9548 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.009488, allocations: 88.14 kB / 0.9549 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.009515, allocations: 19.97 kB / 0.9549 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.009599, allocations: 41.69 kB / 0.9549 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.009746, allocations: 318.8 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.009973, allocations: 93.59 kB / 0.9553 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.01019, allocations: 114 kB / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.01053, allocations: 141.9 kB / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01053, allocations: 4 kB / 0.9556 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005363/0.01107, allocations: 236.8 kB / 0.9558 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.01112, allocations: 41.64 kB / 0.9558 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.01113, allocations: 4 kB / 0.9558 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.01115, allocations: 3.984 kB / 0.9558 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.01124, allocations: 8 kB / 0.9558 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.01125, allocations: 4.125 kB / 0.9558 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.01151, allocations: 43.84 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.01153, allocations: 4 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001596/0.01169, allocations: 129.8 kB / 0.956 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.01172, allocations: 11.89 kB / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.01175, allocations: 8.438 kB / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01176, allocations: 0 / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01176, allocations: 4 kB / 0.956 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01177, allocations: 4 kB / 0.956 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.01244, allocations: 310.1 kB / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01245, allocations: 64 / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.01253, allocations: 15.92 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01254, allocations: 0 / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.01256, allocations: 8 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01256, allocations: 0 / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01257, allocations: 0 / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.01296, allocations: 215.4 kB / 0.9566 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.01297, allocations: 7.891 kB / 0.9566 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01299, allocations: 7.984 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.01308, allocations: 8 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.01313, allocations: 7.969 kB / 0.9566 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.01314, allocations: 4 kB / 0.9566 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.646e-05/0.01324, allocations: 95.2 kB / 0.9567 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01324, allocations: 0 / 0.9567 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002783/0.01352, allocations: 27.94 kB / 0.9567 GB, free: 5.379 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002013/0.01372, allocations: 113.3 kB / 0.9568 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.01417, allocations: 189 kB / 0.957 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.01417, allocations: 0 / 0.957 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.01435, allocations: 35.97 kB / 0.957 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.01484, allocations: 16.19 kB / 0.9571 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.01542, allocations: 170 kB / 0.9572 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.276e-05/0.01552, allocations: 67.34 kB / 0.9573 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.01557, allocations: 7.984 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.01561, allocations: 12.5 kB / 0.9573 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of SimCode: time 8.81e-07/0.01561, allocations: 0 / 0.9573 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of Templates: time 0.006062/0.02167, allocations: 1.571 MB / 0.9588 GB, free: 3.172 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.340975992381573]