Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.001356/0.001361, 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.001648/0.001649, allocations: 190.9 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7343 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 70.77 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3327, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001892/0.3346, allocations: 0.7194 MB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.336, allocations: 1.198 MB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.3361, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.3361, allocations: 3.984 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.3362, allocations: 11.92 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.3369, allocations: 205.3 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.3371, allocations: 183.7 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.3372, allocations: 12 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3373, allocations: 71.88 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.3374, allocations: 43.88 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3374, allocations: 16 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.651e-05/0.3375, allocations: 31.97 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.3376, allocations: 11.94 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.3376, allocations: 51.89 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3378, allocations: 151.9 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3378, allocations: 4 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3378, allocations: 0 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3379, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 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.0004751/0.3383, allocations: 434.7 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3384, allocations: 12.56 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.3384, allocations: 34.75 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.3385, allocations: 12.84 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.3386, allocations: 168.3 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3386, allocations: 8.375 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3386, allocations: 16.38 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.975e-05/0.3387, allocations: 46.23 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3388, allocations: 3.938 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3388, allocations: 0 / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3388, allocations: 0 / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.3388, allocations: 16 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3393, allocations: 360.5 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.182e-05/0.3393, allocations: 38.56 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.3394, allocations: 12.86 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.3394, allocations: 3.984 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3396, allocations: 87.38 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002262/0.3398, allocations: 105.6 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3398, allocations: 55.41 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.3399, allocations: 113.8 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.34, allocations: 29.7 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.34, allocations: 96.12 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.3401, allocations: 15.8 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.3401, allocations: 49.69 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.3402, allocations: 314.8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.3404, allocations: 67.89 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3405, allocations: 100.6 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3407, allocations: 159.6 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3407, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003744/0.3411, allocations: 260.8 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.3411, allocations: 71.39 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3411, allocations: 64 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3412, allocations: 4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.038e-05/0.3412, allocations: 8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3412, allocations: 3.938 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.3415, allocations: 56.05 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3416, allocations: 12 kB / 1.058 GB, free: 2.895 MB / 0.8106 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,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 (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 9.4e-05/0.3417, allocations: 129.7 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3417, allocations: 11.91 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.3417, allocations: 4.375 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3417, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3417, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3417, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3419, allocations: 185.6 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3419, allocations: 0 / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.3419, allocations: 4 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3419, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3419, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3419, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3419, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.342, allocations: 120.9 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.3421, allocations: 85.02 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3421, allocations: 4 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.3421, allocations: 3.984 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.3422, allocations: 7.938 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.3422, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.3422, allocations: 91.27 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3422, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002217/0.3425, allocations: 28 kB / 1.058 GB, free: 2.133 MB / 0.8106 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,or1.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.0004017/0.3429, allocations: 0.6557 MB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.3432, allocations: 246.7 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3432, allocations: 3.938 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.3432, allocations: 27.98 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.3435, allocations: 20.23 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.3451, allocations: 1.711 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3453, allocations: 0.6846 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.3454, allocations: 4 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.3454, allocations: 19.44 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.3454, allocations: 0 / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.236/1.581, allocations: 2.78 MB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.581, allocations: 206.5 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/3.401, allocations: 0 / 1.065 GB, free: 11.67 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches