Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001971/0.001971, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.394/2.394, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 0.8121 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7828, allocations: 140.3 MB / 0.9491 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002164/0.785, allocations: 0.7229 MB / 0.9498 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.7865, allocations: 1.179 MB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.7865, allocations: 0 / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.7866, allocations: 1.125 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.7867, allocations: 12.56 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.7873, allocations: 204 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.7875, allocations: 178.7 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.7877, allocations: 12.19 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.7878, allocations: 67.47 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.7879, allocations: 53.31 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.7879, allocations: 15.38 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.788, allocations: 29.33 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.788, allocations: 11.61 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.7881, allocations: 59.08 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.7883, allocations: 146.4 kB / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7883, allocations: 0 / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7883, allocations: 0 / 0.9517 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7883, allocations: 0 / 0.9517 GB, free: 7.062 MB / 0.7169 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.0005203/0.7889, allocations: 445.2 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.7889, allocations: 9.625 kB / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.789, allocations: 7.812 kB / 0.9522 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.7891, allocations: 178.9 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.7891, allocations: 13.3 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.7892, allocations: 9.25 kB / 0.9524 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.7893, allocations: 43.12 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7893, allocations: 1.312 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.7893, allocations: 7.938 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.7893, allocations: 1.156 kB / 0.9524 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.7894, allocations: 19.39 kB / 0.9524 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.7899, allocations: 350.5 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.7899, allocations: 37.14 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.79, allocations: 18.64 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.79, allocations: 4 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.7902, allocations: 80.23 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.7902, allocations: 4 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002658/0.7905, allocations: 104.6 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.7905, allocations: 56.41 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.7906, allocations: 123.2 kB / 0.9532 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.7906, allocations: 29.8 kB / 0.9532 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.7907, allocations: 88.52 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.7907, allocations: 18.64 kB / 0.9533 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.7908, allocations: 52.42 kB / 0.9533 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.7909, allocations: 320.4 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.7911, allocations: 62.56 kB / 0.9537 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.7912, allocations: 100.4 kB / 0.9538 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.7914, allocations: 164.7 kB / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7914, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004032/0.7918, allocations: 254.6 kB / 0.9542 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.7918, allocations: 70.45 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7919, allocations: 1.219 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7919, allocations: 6.484 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.191e-05/0.7919, allocations: 6.562 kB / 0.9543 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.7919, allocations: 1.406 kB / 0.9543 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.7923, allocations: 56.34 kB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.7923, allocations: 12.73 kB / 0.9544 GB, free: 4.57 MB / 0.7169 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 8.946e-05/0.7924, allocations: 129.5 kB / 0.9545 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.7924, allocations: 6.75 kB / 0.9545 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.7925, allocations: 10.52 kB / 0.9545 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7925, allocations: 5.375 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7925, allocations: 0 / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7925, allocations: 0 / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.7926, allocations: 176.6 kB / 0.9547 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7926, allocations: 1.469 kB / 0.9547 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.7926, allocations: 5.344 kB / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7926, allocations: 3.984 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.7926, allocations: 1.5 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7926, allocations: 0 / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7927, allocations: 1.156 kB / 0.9547 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.7928, allocations: 123.4 kB / 0.9548 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.7928, allocations: 79.83 kB / 0.9549 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.7929, allocations: 0 / 0.9549 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.7929, allocations: 1.375 kB / 0.9549 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.7929, allocations: 10.64 kB / 0.9549 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.7929, allocations: 6.375 kB / 0.9549 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.793, allocations: 91.3 kB / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.793, allocations: 0 / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002331/0.7932, allocations: 31.19 kB / 0.955 GB, free: 3.91 MB / 0.7169 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.0001404/0.7934, allocations: 102.5 kB / 0.9551 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.7937, allocations: 246.8 kB / 0.9553 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7937, allocations: 0 / 0.9553 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.7938, allocations: 31.64 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.794, allocations: 29.5 kB / 0.9554 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.7944, allocations: 169.9 kB / 0.9556 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.7946, allocations: 0.6922 MB / 0.9562 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.7946, allocations: 7.688 kB / 0.9562 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.7946, allocations: 19.75 kB / 0.9563 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7947, allocations: 0 / 0.9563 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of Templates: time 0.004739/0.7994, allocations: 1.83 MB / 0.9581 GB, free: 1.773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches