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.006657/0.006657, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001313/0.001313, allocations: 201.8 kB / 16.68 MB, free: 5.926 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.315/2.315, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8937/0.8952, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001774/0.897, allocations: 0.7005 MB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.8985, allocations: 1.269 MB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.8986, allocations: 0.9688 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.8986, allocations: 4.734 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.8987, allocations: 17.83 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.8996, allocations: 309 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.8999, allocations: 279.1 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.9, allocations: 14.58 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.9002, allocations: 99.88 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.9004, allocations: 92.27 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.9004, allocations: 23.09 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.9005, allocations: 37.19 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.9006, allocations: 14.42 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.9007, allocations: 91.73 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.901, allocations: 219.6 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.901, allocations: 0 / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/0.901, allocations: 0 / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.901, allocations: 1.125 kB / 1.091 GB, free: 3.391 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.000504/0.9015, allocations: 493.8 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.9016, allocations: 9.906 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.9016, allocations: 38.08 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.9017, allocations: 15.83 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.9017, allocations: 176.1 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.9018, allocations: 15.78 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.9018, allocations: 18.83 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.902, allocations: 63.98 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.902, allocations: 0 / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.902, allocations: 1.453 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.902, allocations: 0.8438 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.902, allocations: 21.31 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.9026, allocations: 413.5 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.488e-05/0.9026, allocations: 37.5 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.9027, allocations: 19.52 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.9027, allocations: 4.625 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.903, allocations: 104.6 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.644e-06/0.903, allocations: 0 / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004017/0.9034, allocations: 136.9 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.9035, allocations: 58.69 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.9036, allocations: 133 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.9036, allocations: 35.59 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.9037, allocations: 101.9 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.9037, allocations: 20.16 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.9038, allocations: 71.2 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.9039, allocations: 324.6 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.9041, allocations: 90.67 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.9043, allocations: 131.9 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.9045, allocations: 232.8 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9045, allocations: 0 / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005991/0.9051, allocations: 378.2 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.9052, allocations: 98.3 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9052, allocations: 1.781 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.9052, allocations: 6.875 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.533e-05/0.9053, allocations: 4.359 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9053, allocations: 6.672 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.9058, allocations: 79.05 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.9058, allocations: 18.16 kB / 1.094 GB, free: 0.7734 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 9.429e-05/0.9059, allocations: 136.4 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.906, allocations: 8.406 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.906, allocations: 11.25 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.906, allocations: 1.438 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.906, allocations: 0.5156 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.906, allocations: 1.578 kB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.9061, allocations: 191.3 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.9061, allocations: 1.672 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.9062, allocations: 6.328 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.9062, allocations: 8.875 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.9062, allocations: 10.77 kB / 1.094 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9062, allocations: 0.625 kB / 1.094 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9062, allocations: 0.6875 kB / 1.094 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.9064, allocations: 141 kB / 1.094 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.9064, allocations: 84.59 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.9064, allocations: 1.562 kB / 1.094 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.9065, allocations: 9.594 kB / 1.094 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.9065, allocations: 8.938 kB / 1.094 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.9065, allocations: 7.859 kB / 1.094 GB, free: 204 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.9066, allocations: 97.44 kB / 1.094 GB, free: 124 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9066, allocations: 0.75 kB / 1.094 GB, free: 124 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002701/0.9069, allocations: 47.39 kB / 1.095 GB, free: 116 kB / 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.0005841/0.9075, allocations: 0.6798 MB / 1.095 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.9081, allocations: 366.2 kB / 1.096 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9081, allocations: 0.6562 kB / 1.096 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/0.9082, allocations: 35.05 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.9085, allocations: 34.39 kB / 1.096 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.9114, allocations: 2.048 MB / 1.098 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.9117, allocations: 0.692 MB / 1.098 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.171e-05/0.9118, allocations: 8.422 kB / 1.098 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.9119, allocations: 27.16 kB / 1.098 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of SimCode: time 6.51e-07/0.9119, allocations: 4 kB / 1.098 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.9367, allocations: 3.91 MB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.717, allocations: 4.969 kB / 1.102 GB, free: 12.27 MB / 0.8731 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