Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 117.6 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 65.84 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2496, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001975/0.2517, allocations: 0.7056 MB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2533, allocations: 1.271 MB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.2534, allocations: 0 / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.2535, allocations: 3.938 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.2536, allocations: 23.78 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.2545, allocations: 302.8 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.2548, allocations: 267.7 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2549, allocations: 24.16 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2551, allocations: 99.75 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2553, allocations: 87.8 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.893e-05/0.2553, allocations: 27.98 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2554, allocations: 39.98 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.2555, allocations: 19.92 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2556, allocations: 83.73 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2559, allocations: 215.4 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2559, allocations: 4 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2559, allocations: 0 / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2559, allocations: 0 / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006784/0.2566, allocations: 496.3 kB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2566, allocations: 15.97 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.2567, allocations: 16.83 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2568, allocations: 171 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2569, allocations: 12.31 kB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.2569, allocations: 12.38 kB / 0.9549 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.2571, allocations: 66.22 kB / 0.955 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2571, allocations: 3.938 kB / 0.955 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2571, allocations: 3.984 kB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2571, allocations: 0 / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.2572, allocations: 20 kB / 0.955 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.2577, allocations: 420.4 kB / 0.9554 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.2578, allocations: 34.56 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.2578, allocations: 20.86 kB / 0.9555 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.2578, allocations: 0 / 0.9555 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.258, allocations: 107.3 kB / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.258, allocations: 0 / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002935/0.2583, allocations: 137.5 kB / 0.9557 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2584, allocations: 55.41 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2585, allocations: 129.8 kB / 0.9559 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.2585, allocations: 37.7 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.2586, allocations: 104.1 kB / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2587, allocations: 15.81 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2588, allocations: 65.67 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.2589, allocations: 326.8 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2591, allocations: 87.89 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.2593, allocations: 139.8 kB / 0.9566 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.2596, allocations: 242.7 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.2596, allocations: 0 / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000616/0.2603, allocations: 366.8 kB / 0.9572 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.2604, allocations: 105.1 kB / 0.9573 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2604, allocations: 4 kB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2604, allocations: 0 / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.143e-05/0.2604, allocations: 11.88 kB / 0.9573 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2605, allocations: 4 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.2609, allocations: 79.94 kB / 0.9574 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/0.261, allocations: 23.98 kB / 0.9574 GB, free: 1.281 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.000148/0.2612, allocations: 134 kB / 0.9575 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.2612, allocations: 7.906 kB / 0.9575 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.2612, allocations: 12.38 kB / 0.9576 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2613, allocations: 4 kB / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2613, allocations: 0 / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2613, allocations: 0 / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2615, allocations: 201.5 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2615, allocations: 0 / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.117e-05/0.2615, allocations: 0 / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2615, allocations: 4 kB / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2615, allocations: 0 / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2615, allocations: 0 / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2615, allocations: 4 kB / 0.9578 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2617, allocations: 140.9 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.2618, allocations: 84.95 kB / 0.958 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2618, allocations: 8 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.782e-05/0.2619, allocations: 3.984 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.2619, allocations: 8 kB / 0.958 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2619, allocations: 7.984 kB / 0.958 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.862e-05/0.262, allocations: 98.22 kB / 0.9581 GB, free: 500 kB / 0.7325 GB Notification: Performance of sort global known variables: time 5.21e-07/0.262, allocations: 4 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003046/0.2623, allocations: 44 kB / 0.9581 GB, free: 452 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002053/0.2625, allocations: 111.2 kB / 0.9582 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.2631, allocations: 365.9 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2631, allocations: 0 / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.2632, allocations: 44.33 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.2635, allocations: 35.91 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.264, allocations: 195 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2643, allocations: 0.6961 MB / 0.9595 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.2643, allocations: 8.438 kB / 0.9595 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.2643, allocations: 11.44 kB / 0.9596 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.2643, allocations: 0 / 0.9596 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of Templates: time 0.00605/0.2704, allocations: 2.625 MB / 0.9621 GB, free: 12.29 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches