Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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.0009957/0.0009958, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001001/0.001001, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.869/2.869, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006085/0.0006086, allocations: 15.94 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8161, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3): time 0.0009525/0.8171, allocations: 436.2 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.8185, allocations: 1.183 MB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.8186, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.8186, allocations: 7.922 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.8187, allocations: 19.97 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.8195, allocations: 286.3 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.8196, allocations: 123.8 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.8198, allocations: 20.16 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.8199, allocations: 87.86 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.82, allocations: 67.78 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.8201, allocations: 12 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.8201, allocations: 23.98 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.8202, allocations: 19.91 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.8202, allocations: 45.7 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.8204, allocations: 145.6 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.8204, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8205, allocations: 4 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.8205, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.7794 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.0005281/0.821, allocations: 456.2 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.821, allocations: 15.98 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.8211, allocations: 11.91 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8213, allocations: 173.5 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.8213, allocations: 11.98 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.8213, allocations: 16 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.8215, allocations: 61.62 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8215, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8215, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8215, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.8216, allocations: 23.97 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.8222, allocations: 420.4 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.8223, allocations: 26.58 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.8223, allocations: 7.984 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.8225, allocations: 107.3 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.8225, allocations: 3.938 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003092/0.8228, allocations: 141.4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.8229, allocations: 51.41 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.823, allocations: 133.8 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.823, allocations: 37.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.8231, allocations: 100 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.8231, allocations: 19.88 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.8232, allocations: 12 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8233, allocations: 318.8 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.8235, allocations: 91.91 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.8237, allocations: 134 kB / 1.025 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.8239, allocations: 169 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8239, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005397/0.8245, allocations: 374.6 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/0.8246, allocations: 101.1 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.8246, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8246, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.713e-05/0.8246, allocations: 7.938 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8246, allocations: 3.984 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.8252, allocations: 118.6 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.8253, allocations: 24.06 kB / 1.026 GB, free: 11.21 MB / 0.7794 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.8254, allocations: 131.4 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.8254, allocations: 11.89 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.8255, allocations: 8.375 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.8255, allocations: 0 / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8255, allocations: 4 kB / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8255, allocations: 0 / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.8257, allocations: 193.6 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8257, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.8257, allocations: 3.938 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8257, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8257, allocations: 8 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8257, allocations: 3.984 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8257, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.8259, allocations: 141.2 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.826, allocations: 85.02 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.826, allocations: 7.938 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.826, allocations: 11.98 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.8261, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.8261, allocations: 7.984 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.8261, allocations: 95.27 kB / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8261, allocations: 0 / 1.027 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.8264, allocations: 44 kB / 1.027 GB, free: 10.36 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.8266, allocations: 103.2 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.827, allocations: 366 kB / 1.027 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.827, allocations: 0 / 1.027 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.8271, allocations: 39.92 kB / 1.027 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.8273, allocations: 19.97 kB / 1.027 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.8277, allocations: 207.8 kB / 1.028 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.828, allocations: 0.6965 MB / 1.028 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.828, allocations: 8.438 kB / 1.028 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.828, allocations: 19.44 kB / 1.028 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.828, allocations: 0 / 1.028 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of Templates: time 0.005315/0.8334, allocations: 2.395 MB / 1.031 GB, free: 6.457 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches