Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 180 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 443.2 MB / 0.7181 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 12.19 kB / 0.8801 GB, free: 42.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 155.1 MB / 1.032 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008277/0.2544, allocations: 390.8 kB / 1.032 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.256, allocations: 1.203 MB / 1.033 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.2561, allocations: 0 / 1.033 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2561, allocations: 0 / 1.033 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.2562, allocations: 15.92 kB / 1.033 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.2568, allocations: 190 kB / 1.033 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.257, allocations: 155.7 kB / 1.034 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.2571, allocations: 15.98 kB / 1.034 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2572, allocations: 59.89 kB / 1.034 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.2573, allocations: 43.81 kB / 1.034 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.2573, allocations: 12 kB / 1.034 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.2574, allocations: 19.98 kB / 1.034 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.2574, allocations: 7.984 kB / 1.034 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.2575, allocations: 77.53 kB / 1.034 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.2577, allocations: 100 kB / 1.034 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2577, allocations: 0 / 1.034 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2577, allocations: 4 kB / 1.034 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2577, allocations: 0 / 1.034 GB, free: 2.469 MB / 0.7794 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.0004359/0.2581, allocations: 418.7 kB / 1.034 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2582, allocations: 11.97 kB / 1.034 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.2582, allocations: 8.938 kB / 1.034 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2584, allocations: 168.3 kB / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2584, allocations: 16.31 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.462e-05/0.2584, allocations: 8.375 kB / 1.034 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2585, allocations: 42.25 kB / 1.034 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.2586, allocations: 4.188 kB / 1.034 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2586, allocations: 7.922 kB / 1.035 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2586, allocations: 4 kB / 1.035 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.2586, allocations: 16 kB / 1.035 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.2591, allocations: 344.8 kB / 1.035 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.2592, allocations: 46.44 kB / 1.035 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.2592, allocations: 16.8 kB / 1.035 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.2592, allocations: 0 / 1.035 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.2594, allocations: 83.36 kB / 1.035 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2594, allocations: 0 / 1.035 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002474/0.2597, allocations: 113.6 kB / 1.035 GB, free: 1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2597, allocations: 55.39 kB / 1.035 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.2598, allocations: 121.8 kB / 1.035 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2599, allocations: 33.7 kB / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.26, allocations: 88.14 kB / 1.035 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.26, allocations: 19.78 kB / 1.035 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.26, allocations: 21.72 kB / 1.035 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2602, allocations: 322.8 kB / 1.036 GB, free: 312 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.2603, allocations: 59.97 kB / 1.036 GB, free: 252 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.2604, allocations: 98.5 kB / 1.036 GB, free: 140 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.2607, allocations: 160 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2607, allocations: 0 / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004016/0.2611, allocations: 260.9 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.2611, allocations: 71.39 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2611, allocations: 0 / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2612, allocations: 4 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/0.2612, allocations: 4 kB / 1.036 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2612, allocations: 7.984 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.2616, allocations: 71.94 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2616, allocations: 11.98 kB / 1.036 GB, free: 15.5 MB / 0.795 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,and1.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.0001004/0.2617, allocations: 133.7 kB / 1.037 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2618, allocations: 11.91 kB / 1.037 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.2618, allocations: 8.375 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2618, allocations: 0 / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2618, allocations: 0 / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2618, allocations: 4 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.2619, allocations: 177.6 kB / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2619, allocations: 0 / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.868e-06/0.262, allocations: 4 kB / 1.037 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.262, allocations: 0 / 1.037 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.262, allocations: 64 / 1.037 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.262, allocations: 7.938 kB / 1.037 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.262, allocations: 7.984 kB / 1.037 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.2621, allocations: 113 kB / 1.037 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.2622, allocations: 89.03 kB / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2622, allocations: 0 / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.2622, allocations: 0 / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2622, allocations: 7.984 kB / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2623, allocations: 4 kB / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.2623, allocations: 91.22 kB / 1.037 GB, free: 14.76 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2623, allocations: 4 kB / 1.037 GB, free: 14.76 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002281/0.2625, allocations: 31.98 kB / 1.037 GB, free: 14.73 MB / 0.795 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,and1.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.000134/0.2627, allocations: 103.2 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.263, allocations: 250.6 kB / 1.037 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.263, allocations: 0 / 1.037 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.2631, allocations: 27.98 kB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.2633, allocations: 20.17 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.2636, allocations: 196.9 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.2638, allocations: 0.6848 MB / 1.038 GB, free: 13.36 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.2639, allocations: 11.44 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.2639, allocations: 4 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of Templates: time 0.002804/0.2667, allocations: 1.369 MB / 1.04 GB, free: 11.99 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches