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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001071/0.001071, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001179/0.001179, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7104, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001938/0.7124, allocations: 0.8978 MB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.7142, allocations: 1.534 MB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.7143, allocations: 7.938 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.7144, allocations: 15.86 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.7145, allocations: 19.84 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.7155, allocations: 499.1 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.7159, allocations: 427.1 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.716, allocations: 41.47 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.7163, allocations: 167.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.7164, allocations: 135.5 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.7165, allocations: 27.94 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.7166, allocations: 43.97 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.7167, allocations: 35.91 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.7168, allocations: 143.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.7172, allocations: 397.1 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7172, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7172, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7172, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 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.0007145/0.718, allocations: 0.6398 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.718, allocations: 12.03 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.7181, allocations: 46.73 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.041e-05/0.7182, allocations: 28.75 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.7184, allocations: 271.9 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.7185, allocations: 16.38 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.7185, allocations: 32.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.7188, allocations: 145.4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7188, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.7188, allocations: 8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7188, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.719, allocations: 91.88 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/0.7198, allocations: 0.7071 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.7199, allocations: 171.7 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.72, allocations: 44.97 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.72, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.7203, allocations: 161 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.7203, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004251/0.7207, allocations: 251.1 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7208, allocations: 51.41 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.7209, allocations: 179.2 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.721, allocations: 41.7 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.7211, allocations: 128.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.7211, allocations: 39.52 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.7213, allocations: 117.6 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.7214, allocations: 326.8 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.7217, allocations: 155.9 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.7221, allocations: 234.2 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.7225, allocations: 410.5 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7225, allocations: 4.094 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008901/0.7234, allocations: 0.6266 MB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.766e-05/0.7235, allocations: 168.4 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.7235, allocations: 0 / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7235, allocations: 4 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/0.7236, allocations: 11.94 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.7236, allocations: 4 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.7243, allocations: 147.6 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.7244, allocations: 31.97 kB / 1.026 GB, free: 8.703 MB / 0.7794 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.0001559/0.7246, allocations: 154.3 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.7246, allocations: 27.75 kB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.7247, allocations: 21.86 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.7247, allocations: 0 / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7247, allocations: 0 / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7247, allocations: 0 / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.7252, allocations: 0.5099 MB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7252, allocations: 0 / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.7252, allocations: 7.984 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7252, allocations: 0 / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7253, allocations: 11.94 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7253, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7253, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.7256, allocations: 288.9 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.7256, allocations: 88.92 kB / 1.027 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.7256, allocations: 7.984 kB / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.7257, allocations: 0 / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7258, allocations: 23.97 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.7258, allocations: 12 kB / 1.027 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.7259, allocations: 124.8 kB / 1.027 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7259, allocations: 0 / 1.027 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00034/0.7262, allocations: 75.94 kB / 1.027 GB, free: 7.273 MB / 0.7794 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.0005784/0.7268, allocations: 0.8434 MB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006672/0.7275, allocations: 0.6101 MB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7275, allocations: 0 / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.7276, allocations: 79.91 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.728, allocations: 49 kB / 1.029 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.7315, allocations: 3.028 MB / 1.032 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.7318, allocations: 0.7323 MB / 1.033 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.563e-05/0.7319, allocations: 25.53 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.7319, allocations: 59.41 kB / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/0.7319, allocations: 0 / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.7492, allocations: 5.99 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7495, allocations: 202.1 kB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.464, allocations: 0 / 1.039 GB, free: 11.47 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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