Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MultiOr,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_10_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.01133/0.01133, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.002567/0.002567, allocations: 188.6 kB / 16.67 MB, free: 5.973 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.682/2.682, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.802/4.802, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00303/0.003031, allocations: 75.83 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724/1.727, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003328/1.73, allocations: 0.841 MB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004529/1.735, allocations: 1.489 MB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/1.735, allocations: 0 / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/1.735, allocations: 23.8 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/1.736, allocations: 23.72 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/1.738, allocations: 0.5224 MB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001079/1.739, allocations: 0.4914 MB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/1.74, allocations: 41.47 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/1.74, allocations: 187.7 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/1.74, allocations: 167.6 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/1.741, allocations: 43.94 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/1.741, allocations: 55.98 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/1.741, allocations: 39.91 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/1.741, allocations: 159.5 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008345/1.742, allocations: 422.4 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.742, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.385e-06/1.742, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.742, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 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.001422/1.744, allocations: 0.6514 MB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/1.744, allocations: 12.91 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.859e-05/1.744, allocations: 38.75 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/1.744, allocations: 32.83 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/1.745, allocations: 271.9 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/1.745, allocations: 20.38 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.745, allocations: 28.38 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/1.745, allocations: 153.9 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.745, allocations: 3.938 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/1.745, allocations: 7.984 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.745, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/1.746, allocations: 83.89 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/1.748, allocations: 0.7111 MB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/1.748, allocations: 167.6 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/1.748, allocations: 44.84 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/1.748, allocations: 3.984 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/1.749, allocations: 153.5 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.966e-06/1.749, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001004/1.75, allocations: 245.5 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/1.75, allocations: 59.34 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/1.75, allocations: 182.2 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.75, allocations: 37.7 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/1.751, allocations: 128.6 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/1.751, allocations: 47.69 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/1.751, allocations: 117.6 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000248/1.751, allocations: 326.8 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/1.752, allocations: 151.9 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/1.753, allocations: 242.7 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/1.754, allocations: 413.5 kB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/1.754, allocations: 0 / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001895/1.756, allocations: 0.6187 MB / 1.175 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/1.756, allocations: 168.4 kB / 1.175 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.756, allocations: 0 / 1.175 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.49e-05/1.756, allocations: 4 kB / 1.175 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/1.756, allocations: 11.94 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.756, allocations: 11.97 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.757, allocations: 140 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.757, allocations: 27.98 kB / 1.176 GB, free: 9.535 MB / 0.9044 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.0004352/1.758, allocations: 165.8 kB / 1.176 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/1.758, allocations: 23.8 kB / 1.176 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/1.758, allocations: 13.88 kB / 1.176 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.758, allocations: 4 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.758, allocations: 96 / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.758, allocations: 7.922 kB / 1.176 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.759, allocations: 0.5083 MB / 1.176 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.759, allocations: 0 / 1.176 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/1.759, allocations: 11.94 kB / 1.176 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.759, allocations: 0 / 1.176 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.759, allocations: 7.984 kB / 1.176 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.759, allocations: 0 / 1.176 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.759, allocations: 0 / 1.176 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/1.76, allocations: 281.2 kB / 1.177 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.76, allocations: 100.9 kB / 1.177 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/1.76, allocations: 8 kB / 1.177 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/1.76, allocations: 4 kB / 1.177 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.76, allocations: 23.97 kB / 1.177 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.76, allocations: 8 kB / 1.177 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001894/1.761, allocations: 124.2 kB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.761, allocations: 0 / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007583/1.761, allocations: 79.94 kB / 1.177 GB, free: 8.078 MB / 0.9044 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.001244/1.763, allocations: 0.8383 MB / 1.178 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.764, allocations: 0.6282 MB / 1.178 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.764, allocations: 0 / 1.178 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/1.764, allocations: 75.91 kB / 1.179 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/1.765, allocations: 48.66 kB / 1.179 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/1.773, allocations: 2.994 MB / 1.181 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/1.773, allocations: 0.732 MB / 1.182 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001534/1.773, allocations: 21.55 kB / 1.182 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.774, allocations: 59.41 kB / 1.182 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of SimCode: time 1.613e-06/1.774, allocations: 0 / 1.182 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/1.833, allocations: 6.355 MB / 1.188 GB, free: 12.2 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/18.95, allocations: 7.953 kB / 1.188 GB, free: 12.19 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches