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.00145/0.00145, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001609/0.001609, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.184 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 3.006/3.006, allocations: 389 MB / 0.633 GB, free: 1.035 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.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.395e-06/2.395e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.956e-05, allocations: 2.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001871/0.001901, allocations: 0.6472 MB / 1.001 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.00369, allocations: 1.217 MB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.003747, allocations: 0 / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.003785, allocations: 3.938 kB / 1.002 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.003871, allocations: 11.92 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008226/0.004694, allocations: 220 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.004964, allocations: 171.7 kB / 1.002 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.005062, allocations: 15.98 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.005226, allocations: 95.86 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.005382, allocations: 47.91 kB / 1.003 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.005428, allocations: 16 kB / 1.003 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.005515, allocations: 24 kB / 1.003 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.005546, allocations: 15.91 kB / 1.003 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.005637, allocations: 47.97 kB / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.005937, allocations: 187.5 kB / 1.003 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.005942, allocations: 7.938 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005943, allocations: 0 / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.005949, allocations: 4 kB / 1.003 GB, free: 4.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000592/0.006541, allocations: 349.6 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.006583, allocations: 8.031 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.006669, allocations: 16.88 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.006799, allocations: 117.6 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.006819, allocations: 4.375 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.006855, allocations: 8.375 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.006997, allocations: 54.23 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007006, allocations: 192 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.007016, allocations: 384 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.007021, allocations: 384 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.007095, allocations: 23.88 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.00758, allocations: 268.5 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.292e-05/0.007673, allocations: 30.56 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.007704, allocations: 12.86 kB / 1.004 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.007714, allocations: 0 / 1.004 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.00789, allocations: 95.28 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007892, allocations: 0 / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002777/0.008169, allocations: 105.6 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.008218, allocations: 51.41 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.008347, allocations: 117.8 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.008386, allocations: 37.7 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.008464, allocations: 92.12 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.008485, allocations: 15.84 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.008593, allocations: 53.62 kB / 1.004 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.008751, allocations: 318.8 kB / 1.005 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.00894, allocations: 119.4 kB / 1.005 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.009143, allocations: 151.7 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.00937, allocations: 172 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009372, allocations: 0 / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006475/0.01002, allocations: 332.2 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/0.01009, allocations: 69.73 kB / 1.005 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01009, allocations: 3.984 kB / 1.005 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.01011, allocations: 4 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.333e-05/0.01013, allocations: 3.938 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.01014, allocations: 4 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.0105, allocations: 56.05 kB / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.01054, allocations: 15.98 kB / 1.005 GB, free: 1.645 MB / 0.9512 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.0001209/0.01066, allocations: 121.1 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.01068, allocations: 11.89 kB / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.01071, allocations: 4.438 kB / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01071, allocations: 0 / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01071, allocations: 0 / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.01072, allocations: 8 kB / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.01085, allocations: 117.3 kB / 1.006 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01085, allocations: 0 / 1.006 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.01086, allocations: 4 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01087, allocations: 3.938 kB / 1.006 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.01088, allocations: 4 kB / 1.006 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01088, allocations: 0 / 1.006 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01088, allocations: 3.938 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.01104, allocations: 109.1 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.01106, allocations: 7.891 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01108, allocations: 15.86 kB / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.0111, allocations: 8 kB / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.01114, allocations: 0 / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.01116, allocations: 7.984 kB / 1.006 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.482e-05/0.01122, allocations: 91.22 kB / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002459/0.01147, allocations: 35.98 kB / 1.006 GB, free: 1.047 MB / 0.9512 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.0001669/0.01163, allocations: 107.2 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.01204, allocations: 278.5 kB / 1.006 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01204, allocations: 4.25 kB / 1.006 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.01209, allocations: 20 kB / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01232, allocations: 16.12 kB / 1.006 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.01269, allocations: 153.5 kB / 1.006 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.225e-05/0.01277, allocations: 71.33 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.01279, allocations: 7.859 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.01282, allocations: 16.5 kB / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.01282, allocations: 0 / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of Templates: time 0.005446/0.01826, allocations: 2.032 MB / 1.009 GB, free: 14.3 MB / 0.9669 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: 8.75369156524539]