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.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.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.001602/0.001603, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001986/0.001986, allocations: 196.6 kB / 16.25 MB, free: 6.625 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.485/2.485, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.806/0.8074, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001901/0.8093, allocations: 0.7708 MB / 0.9499 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.8108, allocations: 1.256 MB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.8108, allocations: 0 / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.8109, allocations: 7.922 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.811, allocations: 10.61 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008677/0.8119, allocations: 291.5 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.8122, allocations: 274.8 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.8123, allocations: 19.05 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.8125, allocations: 99.3 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.8126, allocations: 75.89 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.8127, allocations: 22.78 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.8128, allocations: 36.61 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.8129, allocations: 16.55 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.813, allocations: 83.8 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.8133, allocations: 219.1 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.8133, allocations: 1.469 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8133, allocations: 3.938 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.8133, allocations: 0 / 0.9522 GB, free: 6.789 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.0006521/0.814, allocations: 498 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.814, allocations: 9 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.586e-05/0.8141, allocations: 11.53 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.8142, allocations: 180.4 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.8143, allocations: 7.031 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.8143, allocations: 16.44 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.8145, allocations: 60.34 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8145, allocations: 3.938 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.8145, allocations: 5.469 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.8145, allocations: 3.984 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.8146, allocations: 23.66 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.8152, allocations: 417.4 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.8152, allocations: 35.92 kB / 0.9534 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.8153, allocations: 21.47 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.8153, allocations: 0 / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.8155, allocations: 102.2 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.8155, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002807/0.8158, allocations: 136.7 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.8159, allocations: 58.41 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.816, allocations: 137.2 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.816, allocations: 35.14 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.8161, allocations: 104.3 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.8161, allocations: 15.22 kB / 0.954 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.8162, allocations: 66.64 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.8163, allocations: 325.5 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.8165, allocations: 85.17 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.8167, allocations: 142.1 kB / 0.9546 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.8169, allocations: 231.8 kB / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8169, allocations: 0 / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005459/0.8175, allocations: 373.2 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.8175, allocations: 97.12 kB / 0.9553 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.8175, allocations: 1.125 kB / 0.9553 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8176, allocations: 11.58 kB / 0.9553 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.489e-05/0.8176, allocations: 6.969 kB / 0.9553 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.8176, allocations: 2.406 kB / 0.9553 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.8181, allocations: 79.09 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.8182, allocations: 25.69 kB / 0.9554 GB, free: 3.926 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,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.0001034/0.8183, allocations: 133.8 kB / 0.9555 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.8183, allocations: 11.16 kB / 0.9555 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.8183, allocations: 10.72 kB / 0.9555 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8183, allocations: 1.188 kB / 0.9555 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8183, allocations: 0 / 0.9555 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8183, allocations: 5.234 kB / 0.9555 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.8185, allocations: 193 kB / 0.9557 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8185, allocations: 1.156 kB / 0.9557 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.8185, allocations: 1.125 kB / 0.9557 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.8185, allocations: 5.125 kB / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8185, allocations: 10.23 kB / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8186, allocations: 0 / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8186, allocations: 0 / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.8187, allocations: 135.7 kB / 0.9559 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.8188, allocations: 91.19 kB / 0.9559 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.8188, allocations: 8.984 kB / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.8188, allocations: 1 kB / 0.956 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.8189, allocations: 16.55 kB / 0.956 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.8189, allocations: 3.531 kB / 0.956 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.819, allocations: 97.95 kB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.819, allocations: 3.938 kB / 0.9561 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002772/0.8193, allocations: 42.28 kB / 0.9561 GB, free: 3.227 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,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.0001889/0.8195, allocations: 111.9 kB / 0.9562 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.8199, allocations: 373 kB / 0.9566 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8199, allocations: 0 / 0.9566 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.82, allocations: 36.77 kB / 0.9566 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.8203, allocations: 24.92 kB / 0.9566 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.8206, allocations: 213.7 kB / 0.9568 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.8207, allocations: 0.6962 MB / 0.9575 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.8207, allocations: 10.52 kB / 0.9575 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.8208, allocations: 12.12 kB / 0.9575 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8208, allocations: 1.406 kB / 0.9575 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.005338/0.8261, allocations: 2.603 MB / 0.9601 GB, free: 0.5742 MB / 0.7169 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 -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/jenkins/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