Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001633/0.001633, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001668/0.001668, allocations: 158.3 kB / 23.01 MB, free: 4.961 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.879/2.879, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.036, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001838/1.037, allocations: 0.6365 MB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001585/1.039, allocations: 1.203 MB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/1.039, allocations: 0 / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/1.039, allocations: 4.594 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/1.039, allocations: 20.36 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/1.04, allocations: 214.6 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/1.04, allocations: 172.6 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.04, allocations: 12.72 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/1.04, allocations: 70.31 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/1.04, allocations: 56.95 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/1.04, allocations: 14.94 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/1.041, allocations: 35.31 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/1.041, allocations: 9.406 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/1.041, allocations: 56.61 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/1.041, allocations: 145.9 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.041, allocations: 4 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/1.041, allocations: 1.094 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.041, allocations: 0 / 1.189 GB, free: 14.63 MB / 1.076 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.000504/1.041, allocations: 355.3 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.041, allocations: 9.344 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/1.042, allocations: 11.66 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.076e-05/1.042, allocations: 116.3 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.042, allocations: 4.281 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/1.042, allocations: 9.953 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.042, allocations: 54.12 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.042, allocations: 192 / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.042, allocations: 9.453 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.042, allocations: 0.9375 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/1.042, allocations: 13.86 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/1.042, allocations: 273.9 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.613e-05/1.042, allocations: 37.92 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/1.042, allocations: 22.61 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/1.042, allocations: 1.094 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/1.043, allocations: 79.06 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/1.043, allocations: 0 / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002666/1.043, allocations: 108.2 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/1.043, allocations: 53.98 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/1.043, allocations: 120 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/1.043, allocations: 34.5 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/1.043, allocations: 98.66 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/1.043, allocations: 11.58 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/1.043, allocations: 49.67 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.446e-05/1.043, allocations: 318.4 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/1.043, allocations: 120.3 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/1.044, allocations: 151.7 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/1.044, allocations: 166.4 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.044, allocations: 0 / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004063/1.044, allocations: 325.3 kB / 1.192 GB, free: 12.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/1.044, allocations: 72.72 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.044, allocations: 1.156 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.044, allocations: 1.094 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.228e-05/1.044, allocations: 7.281 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/1.044, allocations: 3.281 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/1.045, allocations: 55.39 kB / 1.192 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/1.045, allocations: 16.55 kB / 1.192 GB, free: 12.39 MB / 1.076 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 8.462e-05/1.045, allocations: 125.3 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/1.045, allocations: 10.36 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/1.045, allocations: 10.94 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.045, allocations: 6.266 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.045, allocations: 3.938 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.045, allocations: 1.969 kB / 1.192 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.286e-05/1.045, allocations: 119.4 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.045, allocations: 5.406 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/1.045, allocations: 6.109 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.045, allocations: 0 / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.045, allocations: 1.969 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.045, allocations: 0.5156 kB / 1.192 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.045, allocations: 5.078 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/1.045, allocations: 117.7 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/1.045, allocations: 2.344 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/1.045, allocations: 2.781 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/1.045, allocations: 0 / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/1.045, allocations: 6.938 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.045, allocations: 6.859 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.005e-05/1.045, allocations: 93.62 kB / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.045, allocations: 0 / 1.192 GB, free: 11.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002506/1.045, allocations: 32.16 kB / 1.192 GB, free: 11.91 MB / 1.076 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.0001393/1.046, allocations: 109.2 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003372/1.046, allocations: 276.6 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.046, allocations: 0 / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.325e-05/1.046, allocations: 24.09 kB / 1.193 GB, free: 11.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/1.046, allocations: 19.47 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/1.047, allocations: 161.6 kB / 1.193 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.367e-05/1.047, allocations: 76.66 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.162e-05/1.047, allocations: 9.172 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/1.047, allocations: 12.92 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/1.047, allocations: 0 / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of Templates: time 0.006/1.053, allocations: 2.057 MB / 1.195 GB, free: 11.09 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.075112213962711]