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.001292/0.001292, allocations: 108 kB / 15.6 MB, free: 132 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.001729/0.001729, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.437/2.437, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8171, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001891/0.8191, allocations: 0.7055 MB / 0.9503 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.8204, allocations: 1.258 MB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.8204, allocations: 0 / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.8205, allocations: 11.86 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.8206, allocations: 18.64 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.8213, allocations: 308.2 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.8215, allocations: 274.9 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.8216, allocations: 14.89 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.8217, allocations: 104.5 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.8218, allocations: 71.16 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.587e-05/0.8219, allocations: 23.25 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.822, allocations: 40.69 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.822, allocations: 20.2 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.8221, allocations: 83.23 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.8223, allocations: 214.8 kB / 0.9526 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8224, allocations: 5.156 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8224, allocations: 0 / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8224, allocations: 0 / 0.9526 GB, free: 6.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005285/0.8229, allocations: 493.6 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.823, allocations: 9.969 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.823, allocations: 14.73 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.8231, allocations: 172.9 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.8232, allocations: 14.94 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.8232, allocations: 17.06 kB / 0.9533 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.8233, allocations: 63.47 kB / 0.9534 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.8234, allocations: 3.938 kB / 0.9534 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.8234, allocations: 5.266 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.8234, allocations: 1.312 kB / 0.9534 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.8234, allocations: 13.94 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.8239, allocations: 422.4 kB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.824, allocations: 31.75 kB / 0.9539 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.824, allocations: 21.64 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.8241, allocations: 0 / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.8243, allocations: 102.4 kB / 0.954 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.8243, allocations: 4 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002854/0.8246, allocations: 136.6 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.8246, allocations: 57.78 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.8247, allocations: 138.9 kB / 0.9543 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.8247, allocations: 31.2 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.8248, allocations: 107.1 kB / 0.9544 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.8248, allocations: 16.12 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.825, allocations: 62.11 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.825, allocations: 333.7 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.8252, allocations: 85.86 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.8254, allocations: 132.6 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.8256, allocations: 240.2 kB / 0.9553 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8256, allocations: 0 / 0.9553 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000503/0.8261, allocations: 371 kB / 0.9556 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.8262, allocations: 106.6 kB / 0.9557 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8262, allocations: 7.938 kB / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8262, allocations: 0 / 0.9557 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-05/0.8262, allocations: 8.312 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8262, allocations: 3.938 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.8267, allocations: 89.98 kB / 0.9558 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.8268, allocations: 20.58 kB / 0.9558 GB, free: 4.008 MB / 0.7169 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 8.716e-05/0.8269, allocations: 129.5 kB / 0.956 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.8269, allocations: 7.812 kB / 0.956 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.8269, allocations: 10.34 kB / 0.956 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8269, allocations: 1 kB / 0.956 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.8269, allocations: 5.141 kB / 0.956 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.827, allocations: 0 / 0.956 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.8271, allocations: 193.3 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8271, allocations: 5.062 kB / 0.9562 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.8271, allocations: 1.969 kB / 0.9562 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8271, allocations: 3.984 kB / 0.9562 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.8271, allocations: 6.5 kB / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8271, allocations: 0 / 0.9562 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8271, allocations: 5.297 kB / 0.9562 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.8273, allocations: 134.4 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.8273, allocations: 92.47 kB / 0.9564 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.8273, allocations: 4 kB / 0.9564 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.8273, allocations: 1.812 kB / 0.9564 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.8274, allocations: 11.52 kB / 0.9564 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.8274, allocations: 3.594 kB / 0.9564 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.8274, allocations: 102.1 kB / 0.9565 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8275, allocations: 0 / 0.9565 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002689/0.8277, allocations: 41.97 kB / 0.9566 GB, free: 3.32 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: 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.000167/0.8279, allocations: 104.3 kB / 0.9567 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.8284, allocations: 372.3 kB / 0.957 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8284, allocations: 0 / 0.957 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.8284, allocations: 47.17 kB / 0.9571 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.8287, allocations: 19.58 kB / 0.9571 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.829, allocations: 199 kB / 0.9573 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.8291, allocations: 0.6962 MB / 0.9579 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.8292, allocations: 11.27 kB / 0.958 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.8292, allocations: 16.03 kB / 0.958 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8292, allocations: 0 / 0.958 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of Templates: time 0.004916/0.8341, allocations: 2.621 MB / 0.9605 GB, free: 0.6758 MB / 0.7169 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/jenkins/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