Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, 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.002027/0.002027, allocations: 195 kB / 16.26 MB, free: 6.629 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.958/2.958, allocations: 469.8 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 62.36 kB / 0.9081 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 159.1 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002101/0.3492, allocations: 0.7127 MB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3508, allocations: 1.192 MB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.3509, allocations: 0 / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.351, allocations: 7.922 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.3511, allocations: 15.92 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.3517, allocations: 199.1 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.352, allocations: 187.6 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3521, allocations: 12 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3522, allocations: 63.89 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3523, allocations: 51.86 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3523, allocations: 16 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.3524, allocations: 31.98 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3524, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3526, allocations: 59.88 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3528, allocations: 147.5 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3528, allocations: 0 / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3528, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3528, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 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.0005946/0.3534, allocations: 431 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3535, allocations: 8.031 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.3535, allocations: 12.84 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3537, allocations: 180.4 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3537, allocations: 8.375 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.3538, allocations: 8.375 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3539, allocations: 50.25 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3539, allocations: 4.125 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3539, allocations: 3.938 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3539, allocations: 3.984 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.354, allocations: 15.94 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.3545, allocations: 356.7 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.3546, allocations: 38.5 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.3547, allocations: 16.86 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.3547, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.3549, allocations: 79.41 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3549, allocations: 4 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002851/0.3552, allocations: 101.6 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.3553, allocations: 59.39 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3554, allocations: 117.8 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.3554, allocations: 29.7 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.3555, allocations: 92.05 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3555, allocations: 15.89 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3557, allocations: 49.69 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3558, allocations: 322.8 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.356, allocations: 59.97 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3561, allocations: 92.25 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.3563, allocations: 164.1 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3564, allocations: 0 / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004804/0.3568, allocations: 268.7 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.3569, allocations: 67.39 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3569, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3569, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.982e-05/0.357, allocations: 7.938 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.357, allocations: 0 / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.3574, allocations: 55.97 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.3574, allocations: 11.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 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,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 (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.0001295/0.3575, allocations: 133.7 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.3576, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.3576, allocations: 12.36 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3576, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3576, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3576, allocations: 0 / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3578, allocations: 181.6 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3578, allocations: 0 / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.3578, allocations: 3.984 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3578, allocations: 4 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3578, allocations: 8 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3578, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3578, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.358, allocations: 117 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.3581, allocations: 81.02 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3581, allocations: 4 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.3581, allocations: 0 / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3582, allocations: 11.98 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.3582, allocations: 0 / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.3583, allocations: 95.2 kB / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3583, allocations: 0 / 1.069 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002331/0.3585, allocations: 28 kB / 1.069 GB, free: 8.16 MB / 0.8262 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,and1.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.0001871/0.3587, allocations: 115.2 kB / 1.069 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.3591, allocations: 242.6 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3591, allocations: 4 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.3592, allocations: 27.98 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3594, allocations: 21.86 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.3598, allocations: 163.2 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3601, allocations: 0.7001 MB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.3602, allocations: 4 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.3602, allocations: 11.44 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3602, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.00489/0.3651, allocations: 1.821 MB / 1.072 GB, free: 4.992 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches