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.001815/0.001816, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.78 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002525/0.374, allocations: 0.6507 MB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.376, allocations: 1.198 MB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.3761, allocations: 0 / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.496e-05/0.3762, allocations: 3.938 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.351e-05/0.3763, allocations: 15.91 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.3772, allocations: 209.2 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.3775, allocations: 191.6 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3776, allocations: 20 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.3778, allocations: 67.88 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3779, allocations: 47.88 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.378, allocations: 16 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3781, allocations: 23.98 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.3781, allocations: 11.98 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.3782, allocations: 59.83 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3785, allocations: 143.9 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.3785, allocations: 3.938 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3785, allocations: 4 kB / 1.056 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.3785, allocations: 0 / 1.056 GB, free: 5.613 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.0006562/0.3792, allocations: 434.7 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3793, allocations: 8.625 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.3793, allocations: 46.67 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.3794, allocations: 8.844 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3795, allocations: 168.3 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3795, allocations: 4.375 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3796, allocations: 8.375 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3797, allocations: 58.23 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3797, allocations: 3.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3797, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3798, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.735e-05/0.3798, allocations: 15.98 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.3804, allocations: 364.5 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.3804, allocations: 34.56 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.3805, allocations: 20.94 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3805, allocations: 0 / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.3807, allocations: 79.38 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.107e-06/0.3807, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000256/0.381, allocations: 109.5 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.381, allocations: 51.41 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3812, allocations: 121.8 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3812, allocations: 29.7 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.3813, allocations: 88.14 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3813, allocations: 15.81 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.3814, allocations: 49.69 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3815, allocations: 322.8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3816, allocations: 59.97 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3818, allocations: 96.19 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.382, allocations: 160 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.382, allocations: 0 / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004503/0.3824, allocations: 264.8 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.3825, allocations: 71.33 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3825, allocations: 4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3825, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-05/0.3826, allocations: 4 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3826, allocations: 3.984 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.383, allocations: 52.06 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.383, allocations: 19.98 kB / 1.058 GB, free: 2.578 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 0.000127/0.3831, allocations: 131.8 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.3832, allocations: 3.906 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.3832, allocations: 12.38 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3832, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3832, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3832, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3834, allocations: 181.6 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3834, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.3834, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3834, allocations: 4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.3834, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3834, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3834, allocations: 3.984 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3836, allocations: 112.9 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.3836, allocations: 85 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3836, allocations: 4 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.822e-05/0.3837, allocations: 4 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3837, allocations: 8 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3837, allocations: 7.922 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.3838, allocations: 87.28 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3838, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002367/0.384, allocations: 31.98 kB / 1.059 GB, free: 1.816 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.0004856/0.3845, allocations: 0.6553 MB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.3849, allocations: 246.8 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3849, allocations: 0 / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.3849, allocations: 27.98 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3852, allocations: 22.55 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3871, allocations: 1.712 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.3874, allocations: 0.6846 MB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.3874, allocations: 4 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.3875, allocations: 23.42 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3875, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.4065, allocations: 2.857 MB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.664, allocations: 7.906 kB / 1.065 GB, free: 11.48 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