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.001784/0.001784, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.00202/0.002021, allocations: 184.2 kB / 17.34 MB, free: 5.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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.17 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.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.88 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9129/0.9144, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00188/0.9164, allocations: 0.6992 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.9178, allocations: 1.28 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.9179, allocations: 1.125 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.9179, allocations: 4.734 kB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.918, allocations: 16.44 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.9189, allocations: 312.7 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.9192, allocations: 275.1 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.9193, allocations: 18.09 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.9195, allocations: 100.7 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.9197, allocations: 92.81 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.9197, allocations: 22.09 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.9198, allocations: 36.08 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.9199, allocations: 11.19 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.92, allocations: 87.16 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.9203, allocations: 225.5 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9203, allocations: 4 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9203, allocations: 0.7812 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9203, allocations: 0.7969 kB / 1.092 GB, free: 3.645 MB / 0.8575 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.0005271/0.9209, allocations: 488.1 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.9209, allocations: 9.406 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.921, allocations: 16.17 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.9211, allocations: 180.8 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.9211, allocations: 7.203 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.9212, allocations: 14.17 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.9213, allocations: 60.14 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.9213, allocations: 4.719 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.9213, allocations: 1.969 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.9213, allocations: 0.8125 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.9214, allocations: 26.12 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.9219, allocations: 411.6 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.162e-05/0.922, allocations: 30.67 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.9221, allocations: 22.89 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.9221, allocations: 5.219 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.9223, allocations: 113 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.9223, allocations: 0 / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003027/0.9226, allocations: 136.4 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.9226, allocations: 54.25 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.9227, allocations: 136.7 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.9228, allocations: 36.81 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.9228, allocations: 96.05 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.9229, allocations: 21.06 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.923, allocations: 66.89 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.9231, allocations: 324.7 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.9233, allocations: 88.17 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.9235, allocations: 140 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.9237, allocations: 235.4 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9237, allocations: 0.6562 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005887/0.9243, allocations: 371.1 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.9244, allocations: 97.95 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9244, allocations: 1.688 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9244, allocations: 2.656 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.629e-05/0.9245, allocations: 8.172 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.9245, allocations: 7.109 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.925, allocations: 80.19 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.925, allocations: 22.11 kB / 1.095 GB, free: 1.078 MB / 0.8575 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 9.594e-05/0.9251, allocations: 134.7 kB / 1.095 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.9252, allocations: 9.328 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.9252, allocations: 11.31 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.9252, allocations: 1.625 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9252, allocations: 0 / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.9252, allocations: 1.578 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.9253, allocations: 195.7 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9253, allocations: 0 / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.9254, allocations: 6.516 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.9254, allocations: 1.953 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.9254, allocations: 3.234 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9254, allocations: 4 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9254, allocations: 0.75 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.9256, allocations: 141.2 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.9256, allocations: 87.55 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.9256, allocations: 7.406 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.9257, allocations: 1.484 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.9257, allocations: 12.36 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.9257, allocations: 3.531 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.9258, allocations: 105.4 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9258, allocations: 0.75 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002783/0.9261, allocations: 44.33 kB / 1.096 GB, free: 432 kB / 0.8575 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.0001486/0.9262, allocations: 102.3 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.9267, allocations: 367.2 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9267, allocations: 384 / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.9268, allocations: 44.91 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.9271, allocations: 31.72 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.9275, allocations: 221 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.9278, allocations: 0.6926 MB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.9279, allocations: 17.7 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.9279, allocations: 0 / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.004448/0.9323, allocations: 1.889 MB / 1.099 GB, free: 14.95 MB / 0.8731 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/jenkins1/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