Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_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_9_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.001453/0.001453, allocations: 100.1 kB / 15.88 MB, free: 12 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.001805/0.001805, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6649 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 67.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.676, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001713/0.6778, allocations: 0.7181 MB / 0.9503 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.6789, allocations: 1.211 MB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.679, allocations: 1.25 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.679, allocations: 0 / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.6791, allocations: 9.141 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.6796, allocations: 194 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.6797, allocations: 144.7 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.6798, allocations: 20.44 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.6799, allocations: 63.73 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.68, allocations: 50.3 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.68, allocations: 8.625 kB / 0.9519 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.6801, allocations: 22.3 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.6802, allocations: 7.562 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.6802, allocations: 58.56 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.6804, allocations: 95.33 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6804, allocations: 5.5 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6804, allocations: 0 / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6804, allocations: 0 / 0.9521 GB, free: 7.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004189/0.6808, allocations: 438.7 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6809, allocations: 9.375 kB / 0.9526 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.6809, allocations: 7.906 kB / 0.9526 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.681, allocations: 175.7 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.681, allocations: 7.922 kB / 0.9527 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.6811, allocations: 14 kB / 0.9528 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.6812, allocations: 51.12 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6812, allocations: 1.75 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.6812, allocations: 3.938 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.6812, allocations: 0 / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.772e-05/0.6812, allocations: 15.92 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.6816, allocations: 347.4 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.71e-05/0.6817, allocations: 44.14 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.6817, allocations: 23.25 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.6817, allocations: 0 / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.6819, allocations: 84.12 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6819, allocations: 0 / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002424/0.6822, allocations: 103.9 kB / 0.9534 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.6822, allocations: 56.91 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.6823, allocations: 126.8 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.6823, allocations: 29.67 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.6823, allocations: 89.08 kB / 0.9537 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.6824, allocations: 14.38 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.6825, allocations: 52.33 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.6825, allocations: 321 kB / 0.9541 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.6826, allocations: 54.22 kB / 0.9541 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6828, allocations: 98.72 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.6829, allocations: 159.7 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6829, allocations: 1.125 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003825/0.6833, allocations: 263.1 kB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.6834, allocations: 70.55 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6834, allocations: 5.281 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6834, allocations: 1.25 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.003e-05/0.6834, allocations: 6.641 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6834, allocations: 1.438 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.6838, allocations: 56.28 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.6838, allocations: 17.14 kB / 0.9548 GB, free: 4.746 MB / 0.7169 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 7.826e-05/0.6839, allocations: 125.8 kB / 0.9549 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.6839, allocations: 6.906 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.684, allocations: 9.781 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.684, allocations: 5.266 kB / 0.9549 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.684, allocations: 0 / 0.9549 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.684, allocations: 5.328 kB / 0.9549 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.208e-05/0.6841, allocations: 176.3 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6841, allocations: 4 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.6841, allocations: 1.406 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6841, allocations: 1.469 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.6841, allocations: 5.391 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6841, allocations: 0 / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6841, allocations: 0 / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.6843, allocations: 112.8 kB / 0.9552 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.6843, allocations: 82.58 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.6843, allocations: 5.438 kB / 0.9553 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.6843, allocations: 3.938 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.6844, allocations: 12.39 kB / 0.9553 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.6844, allocations: 5.5 kB / 0.9553 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.6844, allocations: 91.36 kB / 0.9554 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6844, allocations: 0 / 0.9554 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000235/0.6847, allocations: 26.91 kB / 0.9554 GB, free: 4.09 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: 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.0001386/0.6848, allocations: 103.3 kB / 0.9555 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.6851, allocations: 253.6 kB / 0.9557 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6851, allocations: 0 / 0.9557 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.6852, allocations: 29.58 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.6854, allocations: 27.77 kB / 0.9558 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.6857, allocations: 201.1 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.991e-05/0.6859, allocations: 0.6868 MB / 0.9567 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.6859, allocations: 11.56 kB / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.6859, allocations: 0 / 0.9567 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of Templates: time 0.0029/0.6888, allocations: 1.372 MB / 0.958 GB, free: 2.156 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches