Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.0019/0.0019, allocations: 80.52 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.002578/0.002578, allocations: 169.6 kB / 22.46 MB, free: 5.355 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.195 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.99/2.99, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.226e-05, allocations: 10.16 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002046/0.002079, allocations: 0.8029 MB / 1.001 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.004422, allocations: 1.509 MB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.004534, allocations: 3.938 kB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.004679, allocations: 19.8 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.00478, allocations: 35.7 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.006344, allocations: 0.5179 MB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007482/0.007092, allocations: 487.1 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.007271, allocations: 33.66 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004715/0.007742, allocations: 255.7 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.008045, allocations: 143.7 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-05/0.008145, allocations: 40 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.008286, allocations: 52 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.008356, allocations: 43.83 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.008604, allocations: 135.8 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.009295, allocations: 494.7 kB / 1.005 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.009298, allocations: 4 kB / 1.005 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.713e-06/0.0093, allocations: 0 / 1.005 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.009311, allocations: 0 / 1.005 GB, free: 2.727 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000942/0.01025, allocations: 0.5682 MB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01029, allocations: 12.03 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.01041, allocations: 40.78 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.01075, allocations: 201.5 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.01078, allocations: 20.36 kB / 1.005 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.01085, allocations: 28.38 kB / 1.005 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.01114, allocations: 151.8 kB / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.01117, allocations: 4.172 kB / 1.006 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.01119, allocations: 4.375 kB / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.0112, allocations: 384 / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.01136, allocations: 91.81 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.01225, allocations: 0.5703 MB / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.01245, allocations: 86.55 kB / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.01253, allocations: 37.03 kB / 1.006 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01255, allocations: 7.938 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.01286, allocations: 151.2 kB / 1.006 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.654e-06/0.01286, allocations: 0 / 1.006 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0005394/0.0134, allocations: 250.7 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.01346, allocations: 55.41 kB / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.01366, allocations: 178.2 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.01374, allocations: 45.7 kB / 1.007 GB, free: 60 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.01389, allocations: 132.6 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01394, allocations: 39.69 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.01417, allocations: 117.6 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.01436, allocations: 326.8 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.01484, allocations: 312.5 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.01539, allocations: 387.3 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.01595, allocations: 414.7 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01595, allocations: 0 / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001246/0.0172, allocations: 0.7755 MB / 1.009 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.01733, allocations: 160.5 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.01734, allocations: 4 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.01736, allocations: 4 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.0174, allocations: 11.94 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.01742, allocations: 7.984 kB / 1.01 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/0.01825, allocations: 147.8 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.01832, allocations: 31.98 kB / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002008/0.01853, allocations: 158.3 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.01856, allocations: 16 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.0186, allocations: 21.75 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0186, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01861, allocations: 0 / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.01862, allocations: 11.92 kB / 1.01 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.01924, allocations: 444.8 kB / 1.01 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01924, allocations: 3.938 kB / 1.01 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.01927, allocations: 7.984 kB / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01927, allocations: 0 / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.01929, allocations: 8 kB / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.01929, allocations: 7.938 kB / 1.01 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01929, allocations: 3.938 kB / 1.01 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.01964, allocations: 279.3 kB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.01967, allocations: 11.91 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01969, allocations: 4 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.01977, allocations: 11.92 kB / 1.011 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.01986, allocations: 19.97 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01987, allocations: 4 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001131/0.01998, allocations: 124.2 kB / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01998, allocations: 0 / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004158/0.0204, allocations: 87.92 kB / 1.011 GB, free: 11.69 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002108/0.02061, allocations: 108.1 kB / 1.011 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009847/0.02159, allocations: 0.7004 MB / 1.012 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.0216, allocations: 0 / 1.012 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.02172, allocations: 62.33 kB / 1.012 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.02218, allocations: 59.12 kB / 1.012 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/0.02286, allocations: 322.9 kB / 1.012 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.02299, allocations: 128 kB / 1.012 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.598e-05/0.02307, allocations: 21.48 kB / 1.012 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.02311, allocations: 24.48 kB / 1.012 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.02311, allocations: 0 / 1.012 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.01087/0.03398, allocations: 5.05 MB / 1.017 GB, free: 5.199 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.704365488141775]