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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004769/0.004769, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001248/0.001248, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3039, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002003/0.3059, allocations: 0.8318 MB / 1.243 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3079, allocations: 1.474 MB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.308, allocations: 4 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.3082, allocations: 11.81 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.3082, allocations: 39.69 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3095, allocations: 0.5176 MB / 1.245 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.3102, allocations: 0.4914 MB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3104, allocations: 49.47 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.3106, allocations: 187.7 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.3109, allocations: 167.6 kB / 1.246 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.311, allocations: 40 kB / 1.246 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3112, allocations: 63.91 kB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.3112, allocations: 31.92 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3115, allocations: 167.4 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.3119, allocations: 410.8 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.312, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.312, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.312, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9981 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.0007855/0.3128, allocations: 0.659 MB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3128, allocations: 12.03 kB / 1.247 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.3129, allocations: 42.73 kB / 1.247 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.313, allocations: 28.84 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3133, allocations: 268 kB / 1.247 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3133, allocations: 20.36 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.3134, allocations: 28.38 kB / 1.247 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.3137, allocations: 152.7 kB / 1.247 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3137, allocations: 3.938 kB / 1.247 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3137, allocations: 8 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3137, allocations: 3.938 kB / 1.247 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3139, allocations: 79.95 kB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.3147, allocations: 0.7071 MB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3149, allocations: 187.5 kB / 1.248 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.315, allocations: 44.84 kB / 1.248 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.315, allocations: 0 / 1.248 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.3153, allocations: 151.2 kB / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.3153, allocations: 0 / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004432/0.3157, allocations: 247.1 kB / 1.249 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3158, allocations: 59.39 kB / 1.249 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.316, allocations: 186.2 kB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.316, allocations: 37.7 kB / 1.249 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3161, allocations: 128.6 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3162, allocations: 47.67 kB / 1.249 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.3164, allocations: 113.6 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3165, allocations: 326.8 kB / 1.25 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3169, allocations: 159.9 kB / 1.25 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.3172, allocations: 242.7 kB / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.3177, allocations: 406.8 kB / 1.25 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3177, allocations: 0 / 1.25 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.5477/0.8655, allocations: 0.6149 MB / 1.251 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.8657, allocations: 167.9 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.8657, allocations: 2.812 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.8657, allocations: 4.984 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.8658, allocations: 11.83 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.8658, allocations: 9.375 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008741/0.8667, allocations: 136.8 kB / 1.251 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.8668, allocations: 33.84 kB / 1.251 GB, free: 14.45 MB / 0.9981 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.0001854/0.867, allocations: 163.5 kB / 1.252 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.867, allocations: 15.95 kB / 1.252 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.867, allocations: 21.53 kB / 1.252 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.8671, allocations: 2.688 kB / 1.252 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8671, allocations: 0.8125 kB / 1.252 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8671, allocations: 1.844 kB / 1.252 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.8676, allocations: 0.5103 MB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8676, allocations: 0.5156 kB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.8677, allocations: 10.31 kB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8677, allocations: 3.875 kB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.8677, allocations: 4.781 kB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8677, allocations: 0.9688 kB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.8677, allocations: 4.297 kB / 1.252 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.868, allocations: 286.3 kB / 1.252 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.868, allocations: 93.41 kB / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.8681, allocations: 6.812 kB / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.8681, allocations: 5.391 kB / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.8682, allocations: 22.5 kB / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.8682, allocations: 14.3 kB / 1.252 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.762e-05/0.8683, allocations: 117.5 kB / 1.253 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.61e-07/0.8683, allocations: 0 / 1.253 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003562/0.8687, allocations: 81.78 kB / 1.253 GB, free: 13.73 MB / 0.9981 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.0005053/0.8692, allocations: 0.8232 MB / 1.253 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000694/0.8699, allocations: 0.6182 MB / 1.254 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8699, allocations: 0.6875 kB / 1.254 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.87, allocations: 76.44 kB / 1.254 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.8704, allocations: 53.09 kB / 1.254 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.8739, allocations: 3 MB / 1.257 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.874, allocations: 0.7314 MB / 1.258 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.048e-05/0.8741, allocations: 22.17 kB / 1.258 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.8742, allocations: 54.75 kB / 1.258 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.8742, allocations: 2.25 kB / 1.258 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.822/2.696, allocations: 6.384 MB / 1.264 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/14.66, allocations: 6.719 kB / 1.264 GB, free: 9.461 MB / 0.9981 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=400 --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