Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002629/0.0002629, allocations: 0 / 0, free: 0 / 0 " [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.0002331/0.0002331, allocations: 0 / 0, free: 0 / 0 " [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.1308/0.1308, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.3334/0.3334, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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: simulate(Buildings.Controls.OBC.CDL.Logical.Validation.Or,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.CDL.Logical.Validation.Or,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 8.91e-07/8.91e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.158e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008875/0.000919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001642/0.002562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.002591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.002612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.002669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.003095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001627/0.003257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.003317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.003475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.003582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.003613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.00367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.003688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.003746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.003899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.003915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.583e-06/0.003917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.773e-06/0.003923, allocations: 0 / 0, free: 0 / 0 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.000468/0.004391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.004459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.004513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.004577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.004605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.004643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.00474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.004746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.004763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-06/0.004765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.004788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.005143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.005244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.005274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.473e-06/0.00528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.005406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.005408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=7): time 0.0001173/0.005526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.005546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.921e-05/0.005585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.005633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.005675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.005692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.005783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.557e-05/0.005799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.005867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.005935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.006028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002051/0.006236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.006266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.00627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.00628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.336e-05/0.006293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.006299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.006458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.006495, allocations: 0 / 0, free: 0 / 0 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.00012/0.006615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.006675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.006678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.006684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.34e-05/0.00676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-06/0.006771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.006785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.006788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.006789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 8.016e-05/0.006869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.006888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.006933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.006953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.006997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.007007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.776e-05/0.007025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.443e-06/0.007026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000329/0.007355, allocations: 0 / 0, free: 0 / 0 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.0001257/0.007481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002516/0.007733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.007757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.007897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.008114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.008146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.914e-05/0.008175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.008312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.833e-05/0.00833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00104/0.009371, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.3212739443406463]