Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001653/0.001653, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.00174/0.00174, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.506/1.506, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.953/2.953, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 67.89 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9209, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00199/0.9229, allocations: 0.6666 MB / 1.275 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.9245, allocations: 1.186 MB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.9246, allocations: 0 / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.9246, allocations: 11.94 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.9246, allocations: 19.84 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.9253, allocations: 211.2 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.9256, allocations: 167.8 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.9257, allocations: 11.98 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.9258, allocations: 75.81 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.9259, allocations: 63.84 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.9259, allocations: 12 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.926, allocations: 31.98 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.926, allocations: 7.938 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.9261, allocations: 55.88 kB / 1.277 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.9263, allocations: 150.2 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9263, allocations: 0 / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9263, allocations: 0 / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.9263, allocations: 0 / 1.277 GB, free: 1.855 MB / 0.9669 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.0005516/0.9269, allocations: 438.7 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.9269, allocations: 12.03 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.927, allocations: 16.89 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.9271, allocations: 176.2 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.9271, allocations: 4.375 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.9272, allocations: 12.36 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.9273, allocations: 46.25 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9273, allocations: 192 / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.9273, allocations: 7.938 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.9273, allocations: 0 / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.9274, allocations: 15.98 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.9278, allocations: 360.6 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.9279, allocations: 34.52 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.928, allocations: 16.94 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.928, allocations: 4 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.9281, allocations: 72.92 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.9281, allocations: 4 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002515/0.9283, allocations: 109.5 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.9284, allocations: 55.41 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.9285, allocations: 117.8 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.9285, allocations: 33.64 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.9286, allocations: 96.08 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.9286, allocations: 19.89 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.9288, allocations: 49.77 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9289, allocations: 318.8 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.929, allocations: 59.97 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.9292, allocations: 100.2 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.9294, allocations: 168 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9294, allocations: 0 / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000441/0.9298, allocations: 264.9 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.9299, allocations: 63.41 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.9299, allocations: 3.984 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.9299, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.887e-05/0.9299, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9299, allocations: 8.125 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.9303, allocations: 55.83 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.9303, allocations: 15.98 kB / 1.279 GB, free: 14.84 MB / 0.9825 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,or1.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 0.00011/0.9304, allocations: 126.2 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.9305, allocations: 7.953 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.9305, allocations: 8.375 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9305, allocations: 4 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9305, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.9305, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.9306, allocations: 185.5 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9306, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-06/0.9306, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9306, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.9307, allocations: 4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.9307, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9307, allocations: 3.984 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.9308, allocations: 117 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.9309, allocations: 81.09 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.9309, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.9309, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.9309, allocations: 8 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.9309, allocations: 7.984 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.931, allocations: 95.16 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.931, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.9312, allocations: 35.98 kB / 1.28 GB, free: 14.07 MB / 0.9825 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,or1.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.0001592/0.9314, allocations: 103.2 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.9317, allocations: 218.6 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9317, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.9318, allocations: 27.91 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.932, allocations: 20.23 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.9324, allocations: 174.5 kB / 1.28 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.9327, allocations: 0.6807 MB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.9327, allocations: 11.98 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.9327, allocations: 7.438 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9327, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.004539/0.9373, allocations: 1.862 MB / 1.283 GB, free: 10.92 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.962820136919618]