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.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.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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001915/0.001915, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.432/2.432, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 67.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8197, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001976/0.8217, allocations: 0.7217 MB / 0.9496 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.8232, allocations: 1.208 MB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.8233, allocations: 1.344 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.8233, allocations: 3.938 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.8234, allocations: 9.219 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.8241, allocations: 200.8 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.8242, allocations: 145.5 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.8244, allocations: 11.86 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.8244, allocations: 60.23 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.8245, allocations: 53.52 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.8246, allocations: 8.25 kB / 0.9513 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.8247, allocations: 23.05 kB / 0.9513 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.8247, allocations: 10.73 kB / 0.9513 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.8248, allocations: 55.09 kB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.825, allocations: 142 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.825, allocations: 0 / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.825, allocations: 0 / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.825, allocations: 1.375 kB / 0.9515 GB, free: 7.23 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.0004936/0.8255, allocations: 437.9 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8255, allocations: 8.969 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.8256, allocations: 8.562 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.8257, allocations: 171 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.8257, allocations: 13.28 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.8258, allocations: 9.031 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.8259, allocations: 51.98 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8259, allocations: 4.125 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8259, allocations: 9.562 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8259, allocations: 0 / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.385e-05/0.826, allocations: 16.06 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.8264, allocations: 346.3 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.8265, allocations: 41.28 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.8265, allocations: 17.86 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.8265, allocations: 0 / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.8267, allocations: 88.84 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.8267, allocations: 0 / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000246/0.8269, allocations: 99.45 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.827, allocations: 61.84 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.827, allocations: 118.1 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.8271, allocations: 29.27 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.8271, allocations: 94.19 kB / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.8272, allocations: 18.05 kB / 0.9531 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.8272, allocations: 47.81 kB / 0.9531 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.8273, allocations: 320.9 kB / 0.9534 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.8274, allocations: 63.41 kB / 0.9535 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.8276, allocations: 93.56 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.8278, allocations: 152.5 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8278, allocations: 5.656 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004029/0.8282, allocations: 265.7 kB / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.8282, allocations: 69.52 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8283, allocations: 1.438 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8283, allocations: 1.438 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.8283, allocations: 9.406 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8283, allocations: 2.938 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.8287, allocations: 58.64 kB / 0.9541 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.8287, allocations: 13.25 kB / 0.9541 GB, free: 4.742 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 8.477e-05/0.8288, allocations: 130.8 kB / 0.9543 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.8288, allocations: 6.125 kB / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.8289, allocations: 6.625 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8289, allocations: 1.188 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8289, allocations: 4 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8289, allocations: 0 / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.884e-05/0.829, allocations: 181.3 kB / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.829, allocations: 0 / 0.9544 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.829, allocations: 9.312 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.829, allocations: 1.438 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.829, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.829, allocations: 1.375 kB / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.829, allocations: 0 / 0.9545 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.8292, allocations: 120.8 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.8292, allocations: 78.42 kB / 0.9547 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.8292, allocations: 5.047 kB / 0.9547 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.8293, allocations: 1.25 kB / 0.9547 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.8293, allocations: 2.812 kB / 0.9547 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8293, allocations: 10.7 kB / 0.9547 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.8294, allocations: 90.5 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8294, allocations: 3.938 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002438/0.8296, allocations: 27.12 kB / 0.9548 GB, free: 4.086 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.0001697/0.8298, allocations: 106.6 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.8302, allocations: 250 kB / 0.9551 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8302, allocations: 0 / 0.9551 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/0.8303, allocations: 27.33 kB / 0.9552 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.8306, allocations: 13.7 kB / 0.9552 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.8309, allocations: 183.9 kB / 0.9553 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.8311, allocations: 0.6863 MB / 0.956 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.8312, allocations: 8.406 kB / 0.956 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.8312, allocations: 15.11 kB / 0.956 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.8312, allocations: 0 / 0.956 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Templates: time 0.004522/0.8357, allocations: 1.756 MB / 0.9577 GB, free: 1.996 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/jenkins/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