Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.01035/0.01035, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002142/0.002142, allocations: 196.8 kB / 16.68 MB, free: 5.93 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.059/2.059, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 3.168/3.168, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535/1.538, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002778/1.54, allocations: 0.7055 MB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002365/1.543, allocations: 1.269 MB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/1.543, allocations: 1.094 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/1.543, allocations: 8.547 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/1.543, allocations: 20.72 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/1.544, allocations: 301.4 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005044/1.545, allocations: 274.5 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/1.545, allocations: 13.86 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/1.545, allocations: 101.1 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/1.546, allocations: 95.73 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/1.546, allocations: 22.38 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/1.546, allocations: 40.8 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/1.546, allocations: 11.72 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/1.546, allocations: 86.73 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005045/1.547, allocations: 223.4 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.547, allocations: 1.062 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.298e-06/1.547, allocations: 0.7031 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.547, allocations: 0 / 1.091 GB, free: 3.406 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.0008315/1.547, allocations: 490.7 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/1.548, allocations: 13.78 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/1.548, allocations: 33 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/1.548, allocations: 15.77 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.548, allocations: 178.2 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.548, allocations: 7.672 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/1.548, allocations: 19.31 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/1.548, allocations: 62.83 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.548, allocations: 0.8125 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.548, allocations: 5.609 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.548, allocations: 1 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.429e-05/1.548, allocations: 25.7 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008903/1.549, allocations: 412.5 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/1.549, allocations: 37.8 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/1.549, allocations: 19.17 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/1.549, allocations: 1.062 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/1.55, allocations: 109.2 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/1.55, allocations: 0.8125 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004977/1.55, allocations: 135.8 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.55, allocations: 54.11 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/1.55, allocations: 136.1 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/1.551, allocations: 35.39 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/1.551, allocations: 97.73 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/1.551, allocations: 20.33 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.551, allocations: 75.09 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.69e-05/1.551, allocations: 324.7 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/1.551, allocations: 87.58 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/1.552, allocations: 132.1 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/1.552, allocations: 238.8 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.552, allocations: 0.8438 kB / 1.093 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000939/1.553, allocations: 374.5 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/1.553, allocations: 98.39 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.553, allocations: 2.359 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.553, allocations: 2.094 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/1.553, allocations: 12.42 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.553, allocations: 2.547 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/1.554, allocations: 80.22 kB / 1.094 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/1.554, allocations: 26.09 kB / 1.094 GB, free: 0.7852 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,or1.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.0001678/1.554, allocations: 126.2 kB / 1.094 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/1.554, allocations: 9.156 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/1.554, allocations: 14.88 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.554, allocations: 5.375 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.554, allocations: 4.656 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.554, allocations: 1.516 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/1.555, allocations: 195.8 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/1.555, allocations: 0 / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/1.555, allocations: 7.109 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.555, allocations: 0.8125 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/1.555, allocations: 2.781 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/1.555, allocations: 4.562 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.555, allocations: 0.8125 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/1.555, allocations: 141.9 kB / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/1.555, allocations: 82.83 kB / 1.094 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/1.555, allocations: 6.875 kB / 1.094 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/1.555, allocations: 1.75 kB / 1.094 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/1.555, allocations: 12.02 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.555, allocations: 4.531 kB / 1.094 GB, free: 224 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.882e-05/1.555, allocations: 94.69 kB / 1.094 GB, free: 144 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.555, allocations: 0 / 1.094 GB, free: 144 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000455/1.556, allocations: 48.02 kB / 1.095 GB, free: 136 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,or1.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.0007904/1.557, allocations: 0.6793 MB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008064/1.557, allocations: 367 kB / 1.096 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.557, allocations: 192 / 1.096 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/1.558, allocations: 47.7 kB / 1.096 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/1.558, allocations: 34.16 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/1.562, allocations: 2.048 MB / 1.098 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/1.563, allocations: 0.6963 MB / 1.098 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.847e-05/1.563, allocations: 8.969 kB / 1.098 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/1.563, allocations: 25.88 kB / 1.098 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/1.563, allocations: 0 / 1.098 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/1.708, allocations: 3.804 MB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.78, allocations: 16.86 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches