Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001581/0.001581, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001629/0.001629, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.469/1.469, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7293 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.89 kB / 1.057 GB, free: 1.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 160.7 MB / 1.214 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002028/0.2966, allocations: 0.666 MB / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.2983, allocations: 1.199 MB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2983, allocations: 0 / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.2984, allocations: 3.938 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.2984, allocations: 15.91 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000757/0.2992, allocations: 210.9 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.2995, allocations: 171.8 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.2996, allocations: 7.984 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2997, allocations: 75.81 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2998, allocations: 59.84 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.2999, allocations: 16 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3, allocations: 27.98 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.3, allocations: 15.92 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.3001, allocations: 59.83 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.3003, allocations: 143.6 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3004, allocations: 4 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.376e-06/0.3004, allocations: 3.984 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3004, allocations: 0 / 1.217 GB, free: 14.19 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.0005835/0.3009, allocations: 434.6 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.301, allocations: 12.03 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.301, allocations: 8.891 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3012, allocations: 172.3 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3012, allocations: 4.375 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.3012, allocations: 12.38 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3013, allocations: 50.25 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3014, allocations: 192 / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3014, allocations: 7.922 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3014, allocations: 0 / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.3014, allocations: 12 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.302, allocations: 360.7 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.302, allocations: 42.44 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.3021, allocations: 12.86 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3021, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.3022, allocations: 83.39 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3022, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002716/0.3025, allocations: 105.6 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.3026, allocations: 55.39 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3027, allocations: 125.8 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.3027, allocations: 29.7 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.3028, allocations: 96.08 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3028, allocations: 15.89 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3029, allocations: 49.69 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3031, allocations: 322.8 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3032, allocations: 55.95 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3034, allocations: 100.2 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.3036, allocations: 155.6 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3036, allocations: 4 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000488/0.3041, allocations: 264.9 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.3042, allocations: 71.86 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3042, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3042, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-05/0.3042, allocations: 4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3042, allocations: 0 / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.3046, allocations: 63.95 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.3047, allocations: 15.98 kB / 1.219 GB, free: 11.19 MB / 0.9669 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.0001214/0.3048, allocations: 128.2 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.3048, allocations: 3.953 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3048, allocations: 16.36 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3048, allocations: 0 / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3048, allocations: 3.984 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3048, allocations: 0 / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.305, allocations: 185.5 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.305, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.305, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.305, allocations: 4 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.305, allocations: 7.922 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.305, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.305, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3052, allocations: 116.9 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.3053, allocations: 77.11 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3053, allocations: 8 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.3053, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3053, allocations: 7.984 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3053, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.3054, allocations: 91.27 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3054, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002501/0.3057, allocations: 32 kB / 1.22 GB, free: 10.42 MB / 0.9669 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.0001688/0.3058, allocations: 99.25 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3062, allocations: 222.6 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3062, allocations: 0 / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.3063, allocations: 31.92 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3065, allocations: 14.14 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.3069, allocations: 196.2 kB / 1.22 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3072, allocations: 0.6887 MB / 1.221 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.3073, allocations: 11.44 kB / 1.221 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3073, allocations: 0 / 1.221 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of Templates: time 0.003518/0.3108, allocations: 1.4 MB / 1.223 GB, free: 7.688 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.368678831029683]