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.008566/0.008566, allocations: 103.9 kB / 15.74 MB, free: 6.055 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.001714/0.001714, allocations: 195.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.028/2.028, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.194/2.194, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 67.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767/1.77, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002495/1.773, allocations: 0.6636 MB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001933/1.775, allocations: 1.187 MB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/1.775, allocations: 0.9375 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/1.775, allocations: 4.734 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/1.775, allocations: 11.02 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/1.776, allocations: 216.7 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000364/1.776, allocations: 187 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/1.776, allocations: 11.3 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/1.776, allocations: 63.16 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/1.776, allocations: 69.86 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/1.777, allocations: 13.97 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/1.777, allocations: 29.66 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/1.777, allocations: 13.05 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/1.777, allocations: 61.06 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003593/1.777, allocations: 153.3 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/1.777, allocations: 1.062 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/1.777, allocations: 0 / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.777, allocations: 0 / 1.09 GB, free: 3.637 MB / 0.8575 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.0006317/1.778, allocations: 434 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.778, allocations: 13.38 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/1.778, allocations: 33.34 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/1.778, allocations: 12.53 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/1.778, allocations: 172.5 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/1.778, allocations: 5.938 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/1.778, allocations: 9.328 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.778, allocations: 53.39 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.778, allocations: 4.656 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.778, allocations: 4.609 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/1.778, allocations: 0.8125 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/1.779, allocations: 17.69 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/1.779, allocations: 355 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.449e-05/1.779, allocations: 34.44 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/1.779, allocations: 20.2 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/1.779, allocations: 1.547 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/1.78, allocations: 82.05 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/1.78, allocations: 0 / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003043/1.78, allocations: 103.6 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.78, allocations: 57.66 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.78, allocations: 120.5 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/1.78, allocations: 28.86 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/1.78, allocations: 95.16 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/1.78, allocations: 11.45 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.78, allocations: 52.75 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/1.78, allocations: 322.4 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/1.781, allocations: 56.19 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.781, allocations: 96.19 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/1.781, allocations: 162.5 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.781, allocations: 0 / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005285/1.782, allocations: 261.6 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/1.782, allocations: 68.95 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.782, allocations: 1.359 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.782, allocations: 2.312 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.975e-05/1.782, allocations: 11.58 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.782, allocations: 1.375 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/1.782, allocations: 56.84 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/1.782, allocations: 11.25 kB / 1.093 GB, free: 1.316 MB / 0.8575 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.0001118/1.782, allocations: 127.4 kB / 1.093 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/1.782, allocations: 8.625 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/1.782, allocations: 6.078 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.782, allocations: 480 / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.782, allocations: 0.7188 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.782, allocations: 1.609 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/1.783, allocations: 178.4 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.783, allocations: 0.7969 kB / 1.093 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/1.783, allocations: 9.781 kB / 1.093 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.783, allocations: 5.734 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.783, allocations: 1.469 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.783, allocations: 1.156 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.783, allocations: 4 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/1.783, allocations: 111.7 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/1.783, allocations: 91.47 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/1.783, allocations: 2.188 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/1.783, allocations: 1.578 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/1.783, allocations: 9.297 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.783, allocations: 3.016 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.089e-05/1.783, allocations: 97.7 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.783, allocations: 0 / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000296/1.783, allocations: 27.59 kB / 1.093 GB, free: 0.6836 MB / 0.8575 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.0006197/1.784, allocations: 0.6567 MB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004717/1.784, allocations: 244.4 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.785, allocations: 0.8125 kB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/1.785, allocations: 30.92 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.785, allocations: 12.17 kB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/1.788, allocations: 1.716 MB / 1.096 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/1.788, allocations: 0.6895 MB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.692e-05/1.788, allocations: 9.328 kB / 1.097 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/1.788, allocations: 20.94 kB / 1.097 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.788, allocations: 4 kB / 1.097 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/1.817, allocations: 2.872 MB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/15.08, allocations: 11.94 kB / 1.1 GB, free: 13.22 MB / 0.8731 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