Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.008931/0.008931, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001972/0.001972, allocations: 187.4 kB / 16.67 MB, free: 6.391 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.189/2.189, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.752/2.752, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 68.33 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5782, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.004625/0.5829, allocations: 0.6993 MB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.5862, allocations: 1.27 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.5863, allocations: 0 / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.5864, allocations: 3.938 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.5866, allocations: 19.91 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.588, allocations: 314.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.5886, allocations: 271.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.5888, allocations: 20.17 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.589, allocations: 95.86 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.5892, allocations: 99.67 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.5894, allocations: 20 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.5895, allocations: 35.98 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.5896, allocations: 23.91 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.5897, allocations: 75.81 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.5902, allocations: 226.2 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.5903, allocations: 4 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5903, allocations: 0 / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.5903, allocations: 3.938 kB / 1.091 GB, free: 14.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009529/0.5912, allocations: 493.2 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/0.5913, allocations: 12.03 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.5914, allocations: 30.75 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.5915, allocations: 20.83 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.5917, allocations: 176.2 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.5918, allocations: 12.38 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.5918, allocations: 12.38 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.5921, allocations: 69.95 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5921, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5921, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5921, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/0.5922, allocations: 16 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.5931, allocations: 420.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/0.5932, allocations: 30.56 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.5933, allocations: 20.86 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5933, allocations: 3.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.5937, allocations: 107.3 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.5937, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004845/0.5942, allocations: 137.5 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.5943, allocations: 51.41 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.5945, allocations: 133.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.476e-05/0.5946, allocations: 33.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5947, allocations: 104 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.5947, allocations: 23.81 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.595, allocations: 65.67 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002568/0.5952, allocations: 326.8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.5955, allocations: 83.95 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.5959, allocations: 140.2 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.5964, allocations: 246.8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5964, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009579/0.5973, allocations: 374.4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.5975, allocations: 105 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5975, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.5975, allocations: 4 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.54e-05/0.5976, allocations: 7.938 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.5976, allocations: 8.188 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.5983, allocations: 75.91 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.5984, allocations: 15.98 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0002286/0.5986, allocations: 141.7 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.5987, allocations: 7.906 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.5987, allocations: 12.38 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5987, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.5988, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5988, allocations: 3.938 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.5991, allocations: 193.5 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5991, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.5991, allocations: 8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5991, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5991, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5992, allocations: 8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5992, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.5995, allocations: 136.9 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.5996, allocations: 85.02 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5996, allocations: 0 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.5997, allocations: 7.984 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.5998, allocations: 8 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5998, allocations: 7.984 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.064e-05/0.5999, allocations: 102.1 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5999, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004209/0.6003, allocations: 47.91 kB / 1.095 GB, free: 10.35 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007856/0.6011, allocations: 0.6787 MB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008512/0.602, allocations: 366 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.602, allocations: 0 / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.199e-05/0.6021, allocations: 43.86 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.6025, allocations: 23.92 kB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.6064, allocations: 2.046 MB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.6069, allocations: 0.6962 MB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.607, allocations: 8.438 kB / 1.098 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.607, allocations: 27.42 kB / 1.098 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of SimCode: time 1.422e-06/0.6071, allocations: 0 / 1.098 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.641, allocations: 3.83 MB / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.31, allocations: 6.562 kB / 1.102 GB, free: 2.516 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches