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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00164/0.00164, allocations: 194.5 kB / 16.25 MB, free: 6.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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.228/2.228, allocations: 390.3 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5772, allocations: 140.4 MB / 0.9493 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00159/0.5788, allocations: 0.7148 MB / 0.9499 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.5798, allocations: 1.18 MB / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.5798, allocations: 1.375 kB / 0.9511 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.5798, allocations: 7.922 kB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.5799, allocations: 5.312 kB / 0.9511 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.5804, allocations: 203.6 kB / 0.9513 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.5806, allocations: 182.7 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.5807, allocations: 12 kB / 0.9515 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.5807, allocations: 65.17 kB / 0.9516 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.517e-05/0.5808, allocations: 56.83 kB / 0.9516 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.5808, allocations: 15.22 kB / 0.9516 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.5809, allocations: 32.2 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.5809, allocations: 7.844 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.581, allocations: 59.38 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.5812, allocations: 147.4 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5812, allocations: 1.281 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5812, allocations: 0 / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5812, allocations: 0 / 0.9519 GB, free: 7.227 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.0003546/0.5815, allocations: 437.4 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5816, allocations: 9.031 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.5816, allocations: 31.88 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.5817, allocations: 8.25 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.982e-05/0.5817, allocations: 179 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5817, allocations: 5.5 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.5818, allocations: 16.91 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.838e-05/0.5819, allocations: 51.14 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5819, allocations: 7.875 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5819, allocations: 1.125 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5819, allocations: 5 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.5819, allocations: 11.38 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.5823, allocations: 351.2 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.5823, allocations: 40.06 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.5824, allocations: 19.02 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.5824, allocations: 3.984 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.5825, allocations: 84.67 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5825, allocations: 0 / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001933/0.5827, allocations: 103.2 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.5827, allocations: 65.61 kB / 0.9532 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.5828, allocations: 119 kB / 0.9533 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5828, allocations: 33.55 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.5829, allocations: 93 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.5829, allocations: 10.28 kB / 0.9535 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.583, allocations: 48.56 kB / 0.9535 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.583, allocations: 320.2 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5831, allocations: 62.83 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.5833, allocations: 90.33 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.5834, allocations: 164.8 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5834, allocations: 4 kB / 0.9541 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003375/0.5838, allocations: 259.6 kB / 0.9544 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.5838, allocations: 68.45 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5838, allocations: 1.219 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5838, allocations: 2.406 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/0.5838, allocations: 5.656 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.5838, allocations: 1.188 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.5842, allocations: 64.64 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.5842, allocations: 8.75 kB / 0.9545 GB, free: 4.691 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.773e-05/0.5843, allocations: 129.8 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.5843, allocations: 6.688 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.902e-05/0.5843, allocations: 9.719 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5843, allocations: 1.094 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5844, allocations: 1.438 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5844, allocations: 7.938 kB / 0.9547 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.449e-05/0.5844, allocations: 180.9 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5844, allocations: 0 / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.5845, allocations: 1.344 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5845, allocations: 1.594 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.5845, allocations: 4 kB / 0.9549 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5845, allocations: 1.562 kB / 0.9549 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5845, allocations: 0 / 0.9549 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.5846, allocations: 112.1 kB / 0.955 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.5846, allocations: 79.52 kB / 0.955 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.5846, allocations: 8 kB / 0.955 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.5847, allocations: 5.453 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.5847, allocations: 6.781 kB / 0.9551 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.5847, allocations: 2.688 kB / 0.9551 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.5847, allocations: 90.83 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5847, allocations: 0 / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002212/0.585, allocations: 31.38 kB / 0.9552 GB, free: 4.035 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.0002677/0.5852, allocations: 0.6552 MB / 0.9558 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.5855, allocations: 252.8 kB / 0.9561 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5855, allocations: 0 / 0.9561 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.5856, allocations: 24.5 kB / 0.9561 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.5858, allocations: 24 kB / 0.9561 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.5871, allocations: 1.721 MB / 0.9578 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.5872, allocations: 0.69 MB / 0.9585 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.5872, allocations: 7.688 kB / 0.9585 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.5873, allocations: 19.91 kB / 0.9585 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5873, allocations: 0 / 0.9585 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/0.7533, allocations: 2.76 MB / 0.9612 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.7535, allocations: 201.9 kB / 0.9614 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.34, allocations: 11.69 kB / 0.9614 GB, free: 15.27 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > 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