Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001433, allocations: 103.9 kB / 16.27 MB, free: 5.988 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.001525/0.001526, allocations: 188.9 kB / 17.2 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 67.19 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2788, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001958/0.2808, allocations: 0.7161 MB / 0.951 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2823, allocations: 1.255 MB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.2824, allocations: 0 / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2824, allocations: 3.938 kB / 0.9522 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.2826, allocations: 23.84 kB / 0.9522 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.2834, allocations: 302.9 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2837, allocations: 275.5 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.2838, allocations: 20.17 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2839, allocations: 99.86 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2841, allocations: 75.77 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.2841, allocations: 20 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2842, allocations: 35.98 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.2843, allocations: 19.92 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2844, allocations: 79.8 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2847, allocations: 227.7 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2847, allocations: 0 / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2847, allocations: 0 / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2847, allocations: 0 / 0.9533 GB, free: 5.707 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.0005523/0.2852, allocations: 488.3 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2853, allocations: 12.03 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.2854, allocations: 12.84 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2855, allocations: 180.2 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2855, allocations: 8.375 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.2855, allocations: 16.38 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2857, allocations: 62.23 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2857, allocations: 3.938 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2857, allocations: 3.938 kB / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2857, allocations: 0 / 0.9541 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.2858, allocations: 19.98 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.2863, allocations: 420.4 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.379e-05/0.2864, allocations: 38.58 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.2864, allocations: 20.94 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2864, allocations: 0 / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.2866, allocations: 107.2 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.2866, allocations: 0 / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002896/0.2869, allocations: 141.5 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.287, allocations: 59.41 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2871, allocations: 131.4 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.2871, allocations: 29.7 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.2872, allocations: 104 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2872, allocations: 15.81 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.2873, allocations: 65.67 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.2875, allocations: 326.8 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.2876, allocations: 83.95 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2879, allocations: 139 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.2882, allocations: 234.6 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2882, allocations: 0 / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006538/0.2889, allocations: 374.4 kB / 0.9563 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.289, allocations: 101.1 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.289, allocations: 4 kB / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.289, allocations: 192 / 0.9564 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.403e-05/0.289, allocations: 15.92 kB / 0.9564 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2891, allocations: 4 kB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.2896, allocations: 83.75 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.2897, allocations: 15.98 kB / 0.9565 GB, free: 2.121 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,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 (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.0001419/0.2898, allocations: 143.9 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.2898, allocations: 7.906 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.2899, allocations: 8.375 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2899, allocations: 4.375 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.2899, allocations: 7.984 kB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2899, allocations: 0 / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2901, allocations: 189.6 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2901, allocations: 7.875 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.2901, allocations: 4 kB / 0.9569 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2901, allocations: 4 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2901, allocations: 7.984 kB / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2901, allocations: 0 / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2901, allocations: 0 / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2903, allocations: 136.9 kB / 0.957 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.2904, allocations: 88.95 kB / 0.9571 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.2904, allocations: 3.984 kB / 0.9571 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.376e-05/0.2904, allocations: 0 / 0.9571 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2905, allocations: 15.98 kB / 0.9571 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2905, allocations: 4 kB / 0.9571 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.2906, allocations: 102.4 kB / 0.9572 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2906, allocations: 0 / 0.9572 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000279/0.2908, allocations: 44 kB / 0.9573 GB, free: 1.266 MB / 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,or1.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.0001607/0.291, allocations: 107.2 kB / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.2915, allocations: 366.2 kB / 0.9577 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2915, allocations: 4.125 kB / 0.9577 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.2916, allocations: 47.91 kB / 0.9578 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.2918, allocations: 20.27 kB / 0.9578 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.2922, allocations: 236.5 kB / 0.958 GB, free: 428 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2925, allocations: 0.6922 MB / 0.9587 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.2925, allocations: 15.44 kB / 0.9587 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2925, allocations: 0 / 0.9587 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.003653/0.2962, allocations: 1.874 MB / 0.9605 GB, free: 13.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches