Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.0008285/0.0008285, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008274/0.0008274, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8384/0.8384, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.62/1.62, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] 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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.9517 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.526e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00128/0.001315, allocations: 0.6452 MB / 0.9524 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.002443, allocations: 1.21 MB / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.002485, allocations: 0 / 0.9536 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.002513, allocations: 3.938 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.002581, allocations: 7.938 kB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.003056, allocations: 222 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.003231, allocations: 175.6 kB / 0.9539 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.003326, allocations: 7.984 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003434, allocations: 91.92 kB / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.003542, allocations: 55.84 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.00357, allocations: 16 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.003633, allocations: 23.94 kB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.003656, allocations: 11.98 kB / 0.9541 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.003717, allocations: 51.89 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.003921, allocations: 179.6 kB / 0.9544 GB, free: 252 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003924, allocations: 4 kB / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003926, allocations: 0 / 0.9544 GB, free: 248 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.00393, allocations: 3.938 kB / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004509/0.004381, allocations: 357.5 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004418, allocations: 12.03 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.004473, allocations: 16.83 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.004549, allocations: 105.7 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.004566, allocations: 12.38 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.004588, allocations: 12.38 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/0.004681, allocations: 46.23 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.004689, allocations: 4.125 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004699, allocations: 8.375 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004703, allocations: 4.375 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.004736, allocations: 15.94 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.005081, allocations: 264.5 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/0.005149, allocations: 34.56 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.005171, allocations: 12.8 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.00518, allocations: 4 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.005323, allocations: 87.38 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.005324, allocations: 0 / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002118/0.005536, allocations: 109.6 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.00557, allocations: 55.34 kB / 0.9555 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.005641, allocations: 117.8 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.005664, allocations: 29.7 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.005712, allocations: 96.08 kB / 0.9557 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.005728, allocations: 19.83 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.005788, allocations: 49.69 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.005864, allocations: 318.8 kB / 0.9561 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.005979, allocations: 115.4 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.006104, allocations: 162.5 kB / 0.9564 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.006236, allocations: 160 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006237, allocations: 0 / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003082/0.006546, allocations: 328.2 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.006587, allocations: 67.39 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.006591, allocations: 0 / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.006605, allocations: 7.984 kB / 0.9569 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.006625, allocations: 12 kB / 0.9569 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00663, allocations: 4 kB / 0.9569 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.006828, allocations: 55.89 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.006848, allocations: 11.98 kB / 0.957 GB, free: 13.29 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.306e-05/0.006921, allocations: 117.8 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.006931, allocations: 11.89 kB / 0.9571 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.006954, allocations: 8.438 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.006958, allocations: 11.98 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.006962, allocations: 0 / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.006965, allocations: 0 / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.621e-05/0.007042, allocations: 113.3 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007043, allocations: 4 kB / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.007049, allocations: 3.938 kB / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007052, allocations: 3.938 kB / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.007059, allocations: 4.062 kB / 0.9572 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00706, allocations: 4 kB / 0.9572 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007062, allocations: 3.984 kB / 0.9572 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.007179, allocations: 117.4 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.007188, allocations: 7.922 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.007201, allocations: 7.938 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.007216, allocations: 0 / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.007252, allocations: 11.98 kB / 0.9574 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.007256, allocations: 0 / 0.9574 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.007295, allocations: 95.2 kB / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007295, allocations: 3.938 kB / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001682/0.007463, allocations: 28 kB / 0.9575 GB, free: 12.68 MB / 0.9167 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001263/0.00759, allocations: 107.2 kB / 0.9576 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.007838, allocations: 278.1 kB / 0.9579 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00784, allocations: 0 / 0.9579 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.007875, allocations: 23.98 kB / 0.9579 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.008056, allocations: 18.33 kB / 0.9579 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.008336, allocations: 187.1 kB / 0.9581 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.00838, allocations: 79.44 kB / 0.9582 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.008399, allocations: 12.5 kB / 0.9582 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of SimCode: time 2.71e-07/0.0084, allocations: 3.938 kB / 0.9582 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of Templates: time 0.00215/0.01055, allocations: 1.405 MB / 0.9596 GB, free: 10.5 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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: 6.378409271128476]