Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_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.00155/0.00155, 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.001869/0.001869, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7976, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002597/0.8002, allocations: 0.8263 MB / 0.9505 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.8024, allocations: 1.478 MB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.8025, allocations: 6.156 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.8027, allocations: 16.86 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.8028, allocations: 31.02 kB / 0.952 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.8044, allocations: 0.5169 MB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000675/0.805, allocations: 0.4929 MB / 0.953 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.8052, allocations: 36.36 kB / 0.9531 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.8055, allocations: 183.3 kB / 0.9532 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.8057, allocations: 148.1 kB / 0.9534 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.8058, allocations: 41.28 kB / 0.9534 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.806, allocations: 58.64 kB / 0.9535 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.8061, allocations: 43.09 kB / 0.9535 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.8064, allocations: 158.8 kB / 0.9537 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.8069, allocations: 409.8 kB / 0.9541 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8069, allocations: 0 / 0.9541 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8069, allocations: 1.375 kB / 0.9541 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8069, allocations: 0 / 0.9541 GB, free: 5.992 MB / 0.7169 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.0008831/0.8078, allocations: 0.6416 MB / 0.9547 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.8079, allocations: 10.03 kB / 0.9547 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.8079, allocations: 46.08 kB / 0.9547 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.8081, allocations: 33.53 kB / 0.9548 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.8085, allocations: 258.7 kB / 0.955 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.8085, allocations: 17.91 kB / 0.955 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.8086, allocations: 36.61 kB / 0.9551 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.8089, allocations: 158.4 kB / 0.9552 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.809, allocations: 3.938 kB / 0.9552 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.809, allocations: 9.312 kB / 0.9552 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.809, allocations: 2.438 kB / 0.9552 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.8092, allocations: 84.3 kB / 0.9553 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.8102, allocations: 0.7045 MB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.8104, allocations: 172.1 kB / 0.9562 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.8105, allocations: 49.92 kB / 0.9562 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.8106, allocations: 0 / 0.9562 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.8109, allocations: 157.8 kB / 0.9564 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.8109, allocations: 0 / 0.9564 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005905/0.8115, allocations: 242.9 kB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.8116, allocations: 66.95 kB / 0.9567 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.8117, allocations: 187.4 kB / 0.9568 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.8118, allocations: 39.33 kB / 0.9569 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.8119, allocations: 126.2 kB / 0.957 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.812, allocations: 34.39 kB / 0.957 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.8123, allocations: 114.1 kB / 0.9571 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.8124, allocations: 330.9 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.8128, allocations: 157 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.8134, allocations: 241.7 kB / 0.9578 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.814, allocations: 408.6 kB / 0.9582 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.814, allocations: 1.031 kB / 0.9582 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001494/0.8155, allocations: 0.6181 MB / 0.9588 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.8157, allocations: 164.2 kB / 0.959 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.8157, allocations: 3.156 kB / 0.959 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.8157, allocations: 4.281 kB / 0.959 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.8158, allocations: 25.61 kB / 0.959 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.8158, allocations: 7.5 kB / 0.959 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.817, allocations: 148.3 kB / 0.9592 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.8171, allocations: 38.52 kB / 0.9592 GB, free: 1.723 MB / 0.7169 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.0002283/0.8174, allocations: 150.4 kB / 0.9593 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.8174, allocations: 23.44 kB / 0.9594 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.8175, allocations: 17.28 kB / 0.9594 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8175, allocations: 2 kB / 0.9594 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.8175, allocations: 8.953 kB / 0.9594 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.8175, allocations: 3.984 kB / 0.9594 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.8183, allocations: 0.5079 MB / 0.9599 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8183, allocations: 0 / 0.9599 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.8183, allocations: 7.531 kB / 0.9599 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8183, allocations: 1.094 kB / 0.9599 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.8184, allocations: 9.641 kB / 0.9599 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8184, allocations: 1 kB / 0.9599 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8184, allocations: 1.094 kB / 0.9599 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.8188, allocations: 291.2 kB / 0.9602 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.8189, allocations: 89.52 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.8189, allocations: 1.25 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.819, allocations: 5.125 kB / 0.9603 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.8191, allocations: 20.34 kB / 0.9603 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.8192, allocations: 11.03 kB / 0.9603 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001007/0.8193, allocations: 114.3 kB / 0.9604 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.72e-07/0.8193, allocations: 0 / 0.9604 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006377/0.8199, allocations: 96.05 kB / 0.9605 GB, free: 0.6641 MB / 0.7169 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.0006739/0.8206, allocations: 0.8193 MB / 0.9613 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.8218, allocations: 0.6313 MB / 0.9619 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8219, allocations: 0 / 0.9619 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.8221, allocations: 77.12 kB / 0.962 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.8227, allocations: 49.14 kB / 0.962 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/0.8286, allocations: 3.003 MB / 0.965 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.8291, allocations: 0.7283 MB / 0.9657 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.8292, allocations: 24.2 kB / 0.9657 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.8294, allocations: 54.3 kB / 0.9658 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/0.8294, allocations: 0 / 0.9658 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.8683, allocations: 6.311 MB / 0.9719 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.677, allocations: 3.719 kB / 0.9719 GB, free: 9.066 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches