Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001366/0.001366, 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.001365/0.001365, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7344 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.45 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2205, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00158/0.2221, allocations: 0.8927 MB / 1.053 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2235, allocations: 1.49 MB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.2236, allocations: 8 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.244e-05/0.2237, allocations: 15.86 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.2238, allocations: 27.77 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.2247, allocations: 492.3 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.2252, allocations: 499.3 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2253, allocations: 45.47 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.2254, allocations: 179.6 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.2256, allocations: 151.6 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.2256, allocations: 40 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.2257, allocations: 51.98 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.2258, allocations: 39.91 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2259, allocations: 163.5 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.2263, allocations: 415.2 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.2263, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2263, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2263, allocations: 0 / 1.057 GB, free: 4.164 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000568/0.2268, allocations: 0.6437 MB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2269, allocations: 16.61 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.2269, allocations: 38.75 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.227, allocations: 36.67 kB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.2272, allocations: 260.5 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2273, allocations: 16.38 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.2273, allocations: 28.38 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2275, allocations: 151.8 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.2276, allocations: 3.938 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2276, allocations: 11.98 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2276, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2277, allocations: 79.95 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.2284, allocations: 0.7148 MB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.2285, allocations: 171.6 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.2286, allocations: 40.84 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.2286, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.2288, allocations: 160.3 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.2288, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0003577/0.2292, allocations: 243 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2292, allocations: 55.41 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2293, allocations: 178.3 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.2294, allocations: 45.69 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.2295, allocations: 128.4 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.2295, allocations: 39.55 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.2297, allocations: 121.6 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.2298, allocations: 326.8 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.23, allocations: 151.9 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.2303, allocations: 251.6 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.2307, allocations: 412.8 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2307, allocations: 7.938 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008117/0.2315, allocations: 0.616 MB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.2316, allocations: 168.4 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2316, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2316, allocations: 4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.831e-05/0.2317, allocations: 8 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2317, allocations: 11.92 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.2324, allocations: 144 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.2325, allocations: 27.98 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.00013/0.2326, allocations: 165.7 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.2326, allocations: 23.73 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.2327, allocations: 13.94 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2327, allocations: 8 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2327, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2327, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.2331, allocations: 0.5113 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2331, allocations: 0 / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.2331, allocations: 11.94 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2331, allocations: 0 / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2332, allocations: 4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2332, allocations: 3.984 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2332, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.2334, allocations: 281.1 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.2334, allocations: 96.86 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2335, allocations: 11.92 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.2335, allocations: 4 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.2336, allocations: 27.97 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2336, allocations: 4 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.2337, allocations: 120.2 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2337, allocations: 0 / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003149/0.234, allocations: 76 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004614/0.2345, allocations: 0.8293 MB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006148/0.2351, allocations: 0.6275 MB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2351, allocations: 3.938 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.2352, allocations: 79.91 kB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.2355, allocations: 44.59 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.2385, allocations: 3.02 MB / 1.068 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.2387, allocations: 0.7281 MB / 1.068 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.023e-05/0.2388, allocations: 29.52 kB / 1.068 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.2388, allocations: 55.42 kB / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2388, allocations: 0 / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.993/4.232, allocations: 6.218 MB / 1.075 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/4.232, allocations: 212.5 kB / 1.075 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/7.095, allocations: 0 / 1.075 GB, free: 1.023 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches