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.0008464/0.0008464, allocations: 76.55 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.0008366/0.0008366, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8668/0.8668, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.761/1.761, allocations: 389 MB / 0.6338 GB, free: 12.74 MB / 0.6042 GB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.786e-05, allocations: 8.672 kB / 1.001 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001248/0.001276, allocations: 0.6489 MB / 1.002 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.002484, allocations: 1.222 MB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.002536, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.002564, allocations: 3.938 kB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.002634, allocations: 11.91 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.003174, allocations: 225.2 kB / 1.003 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.00335, allocations: 175.6 kB / 1.003 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.00344, allocations: 12 kB / 1.003 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.003545, allocations: 91.92 kB / 1.003 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.003646, allocations: 47.86 kB / 1.003 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.003672, allocations: 16 kB / 1.003 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.003735, allocations: 31.97 kB / 1.003 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.003753, allocations: 7.984 kB / 1.003 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.003813, allocations: 55.89 kB / 1.003 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.004003, allocations: 175.6 kB / 1.004 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004005, allocations: 3.938 kB / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004006, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.00401, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9167 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.0004032/0.004414, allocations: 357.6 kB / 1.004 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.004451, allocations: 12.75 kB / 1.004 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.0045, allocations: 12.89 kB / 1.004 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.004576, allocations: 109.7 kB / 1.004 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.004593, allocations: 12.3 kB / 1.004 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.004614, allocations: 12.38 kB / 1.004 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.216e-05/0.004706, allocations: 42.25 kB / 1.004 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.004713, allocations: 192 / 1.004 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004723, allocations: 4.375 kB / 1.004 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.004727, allocations: 384 / 1.004 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.004761, allocations: 23.86 kB / 1.004 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.005106, allocations: 272.5 kB / 1.004 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/0.005172, allocations: 26.58 kB / 1.004 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.005195, allocations: 20.94 kB / 1.004 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.005203, allocations: 0 / 1.004 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.005318, allocations: 87.23 kB / 1.004 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005319, allocations: 3.938 kB / 1.004 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002003/0.00552, allocations: 101.6 kB / 1.005 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.005553, allocations: 51.41 kB / 1.005 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.005624, allocations: 125.8 kB / 1.005 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.005645, allocations: 37.7 kB / 1.005 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.005691, allocations: 88.14 kB / 1.005 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.005705, allocations: 19.88 kB / 1.005 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.005766, allocations: 49.62 kB / 1.005 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.005871, allocations: 318.8 kB / 1.005 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.005991, allocations: 119.4 kB / 1.005 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.006125, allocations: 151.7 kB / 1.006 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.006263, allocations: 163.4 kB / 1.006 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.006266, allocations: 4 kB / 1.006 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003206/0.006587, allocations: 328.2 kB / 1.006 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.006626, allocations: 68.95 kB / 1.006 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006632, allocations: 4.469 kB / 1.006 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.006644, allocations: 0 / 1.006 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.748e-05/0.006661, allocations: 7.938 kB / 1.006 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.006669, allocations: 3.984 kB / 1.006 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.00686, allocations: 56 kB / 1.006 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.00688, allocations: 16 kB / 1.006 GB, free: 6.246 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,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 7.082e-05/0.006951, allocations: 121.8 kB / 1.006 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.006961, allocations: 15.89 kB / 1.006 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.00699, allocations: 16.38 kB / 1.006 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006993, allocations: 0 / 1.006 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.006997, allocations: 0 / 1.006 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.007, allocations: 0 / 1.006 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.539e-05/0.007076, allocations: 117.3 kB / 1.006 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.007078, allocations: 3.984 kB / 1.006 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.007083, allocations: 4 kB / 1.006 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007086, allocations: 3.938 kB / 1.006 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.007093, allocations: 0 / 1.006 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.007094, allocations: 4 kB / 1.006 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007095, allocations: 3.938 kB / 1.006 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.007196, allocations: 109.1 kB / 1.007 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.007206, allocations: 11.95 kB / 1.007 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.007218, allocations: 3.938 kB / 1.007 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.007229, allocations: 0 / 1.007 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.007264, allocations: 11.98 kB / 1.007 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.007268, allocations: 0 / 1.007 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.007309, allocations: 91.27 kB / 1.007 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007309, allocations: 0 / 1.007 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001709/0.00748, allocations: 32 kB / 1.007 GB, free: 5.645 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,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.000111/0.007591, allocations: 107.1 kB / 1.007 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.007843, allocations: 278.1 kB / 1.007 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007845, allocations: 256 / 1.007 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.007881, allocations: 27.98 kB / 1.007 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.008053, allocations: 16.27 kB / 1.007 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.008313, allocations: 183.1 kB / 1.007 GB, free: 4.965 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.008358, allocations: 79.25 kB / 1.007 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.008379, allocations: 16.5 kB / 1.007 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.008379, allocations: 0 / 1.007 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of Templates: time 0.002149/0.01053, allocations: 1.407 MB / 1.009 GB, free: 3.453 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.425406385213137]