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.0009472/0.0009472, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007792/0.007792, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.507/2.507, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8217, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000943/0.8227, allocations: 390.2 kB / 0.9554 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.8248, allocations: 1.201 MB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.8249, allocations: 1.469 kB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.825, allocations: 3.938 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.8251, allocations: 9.391 kB / 0.9566 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.8257, allocations: 190.6 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.8259, allocations: 152.6 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.8261, allocations: 19.3 kB / 0.957 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.8262, allocations: 53.39 kB / 0.957 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.8263, allocations: 52.08 kB / 0.9571 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.8264, allocations: 8.656 kB / 0.9571 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.8265, allocations: 22.73 kB / 0.9571 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.8265, allocations: 4.188 kB / 0.9571 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.8266, allocations: 79.05 kB / 0.9572 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.8269, allocations: 138.6 kB / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.8269, allocations: 0 / 0.9573 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8269, allocations: 4 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8269, allocations: 0 / 0.9573 GB, free: 5.992 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.000484/0.8274, allocations: 418.6 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.8274, allocations: 8.719 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.8275, allocations: 12.09 kB / 0.9577 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.8277, allocations: 183.7 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.8277, allocations: 3.906 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.8277, allocations: 10.06 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.8279, allocations: 52.02 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8279, allocations: 4.188 kB / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.8279, allocations: 3.938 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.8279, allocations: 1.469 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.828, allocations: 18.75 kB / 0.958 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.8285, allocations: 343.4 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.8286, allocations: 41.56 kB / 0.9584 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.8286, allocations: 18.27 kB / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.8286, allocations: 0 / 0.9584 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.8288, allocations: 88.89 kB / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8288, allocations: 0 / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002411/0.8291, allocations: 100.5 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.8291, allocations: 55.39 kB / 0.9586 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.8292, allocations: 119.6 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8292, allocations: 29.83 kB / 0.9587 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.8293, allocations: 96.16 kB / 0.9588 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.8293, allocations: 14.56 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.8294, allocations: 21.97 kB / 0.9589 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.8294, allocations: 324.5 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.8296, allocations: 58.16 kB / 0.9592 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.8297, allocations: 103.3 kB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.8299, allocations: 151.6 kB / 0.9595 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8299, allocations: 1.031 kB / 0.9595 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004143/0.8303, allocations: 262.1 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.8304, allocations: 69.05 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8304, allocations: 1.156 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.8304, allocations: 2.312 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.185e-05/0.8304, allocations: 1.938 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.8305, allocations: 13.08 kB / 0.9598 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.8309, allocations: 83.62 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.831, allocations: 16.52 kB / 0.9599 GB, free: 3.512 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 0.0001125/0.8311, allocations: 122 kB / 0.96 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.8311, allocations: 11.41 kB / 0.96 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.8312, allocations: 5.531 kB / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8312, allocations: 1.156 kB / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8312, allocations: 0 / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.8312, allocations: 5.391 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.8313, allocations: 180.7 kB / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8313, allocations: 0 / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.8314, allocations: 5.375 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8314, allocations: 0 / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.8314, allocations: 1.438 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.8314, allocations: 5.766 kB / 0.9602 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8314, allocations: 4 kB / 0.9602 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.8315, allocations: 108.8 kB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.8316, allocations: 86.81 kB / 0.9604 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.8316, allocations: 0 / 0.9604 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.8316, allocations: 2 kB / 0.9604 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.8317, allocations: 13.86 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.8317, allocations: 3.75 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.8317, allocations: 95.2 kB / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8317, allocations: 0 / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002718/0.832, allocations: 26.19 kB / 0.9606 GB, free: 2.859 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.0001726/0.8322, allocations: 102.1 kB / 0.9607 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.8325, allocations: 244.9 kB / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8325, allocations: 0 / 0.9609 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.8326, allocations: 36.41 kB / 0.9609 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.8329, allocations: 22.73 kB / 0.9609 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.8332, allocations: 160.5 kB / 0.9611 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.8334, allocations: 0.6891 MB / 0.9618 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.8334, allocations: 11.91 kB / 0.9618 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.8334, allocations: 11.56 kB / 0.9618 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/0.8334, allocations: 0 / 0.9618 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of Templates: time 0.005145/0.8386, allocations: 1.757 MB / 0.9635 GB, free: 0.7852 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