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.001305/0.001305, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01036/0.01037, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.557/2.557, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 12 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6094, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0009714/0.6104, allocations: 0.5551 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.6124, allocations: 1.53 MB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.6124, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.6126, allocations: 11.88 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.6126, allocations: 27.77 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.6138, allocations: 491.7 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.6143, allocations: 423.3 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.6145, allocations: 41.47 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.6147, allocations: 159.6 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.6149, allocations: 131.6 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.615, allocations: 24 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.6151, allocations: 35.98 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/0.6151, allocations: 31.91 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.6153, allocations: 165.2 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.6158, allocations: 385.1 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6158, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6158, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6158, allocations: 0 / 1.027 GB, free: 11.86 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.0006802/0.6165, allocations: 0.5734 MB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6165, allocations: 12.03 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.6166, allocations: 54.67 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/0.6167, allocations: 32.73 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.617, allocations: 252 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.617, allocations: 20.38 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.6171, allocations: 28.38 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.6174, allocations: 157.1 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6174, allocations: 3.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.6174, allocations: 7.984 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6174, allocations: 8 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.6176, allocations: 87.94 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.6185, allocations: 0.7109 MB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.6187, allocations: 163.7 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.6188, allocations: 44.84 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.6188, allocations: 0 / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.619, allocations: 167.3 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.6191, allocations: 0 / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004397/0.6195, allocations: 239.1 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.6196, allocations: 63.34 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.6197, allocations: 179.2 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.6198, allocations: 41.69 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6199, allocations: 132.4 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.6199, allocations: 27.62 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.62, allocations: 53.69 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6201, allocations: 330.8 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.6204, allocations: 163.8 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.6208, allocations: 234.2 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.6212, allocations: 409.9 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.6212, allocations: 0 / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009374/0.6222, allocations: 0.6289 MB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.6223, allocations: 170.6 kB / 1.032 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6223, allocations: 4 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6223, allocations: 4 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.555e-05/0.6224, allocations: 11.92 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.6224, allocations: 7.938 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/0.6233, allocations: 191.8 kB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.6234, allocations: 39.97 kB / 1.032 GB, free: 6.219 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.0001772/0.6235, allocations: 154.3 kB / 1.032 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.6236, allocations: 19.75 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.6236, allocations: 17.88 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6236, allocations: 0 / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6236, allocations: 0 / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6236, allocations: 7.984 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.6243, allocations: 0.5112 MB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6243, allocations: 4 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.6243, allocations: 0 / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6243, allocations: 4 kB / 1.033 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.6243, allocations: 3.984 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6243, allocations: 4 kB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6243, allocations: 0 / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.6246, allocations: 288.9 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.6247, allocations: 92.91 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.6247, allocations: 4 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.6248, allocations: 8.062 kB / 1.033 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.6248, allocations: 19.97 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.6248, allocations: 8 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001465/0.625, allocations: 124.8 kB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.625, allocations: 0 / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003641/0.6254, allocations: 79.92 kB / 1.033 GB, free: 4.793 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.0007136/0.6261, allocations: 0.8358 MB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007048/0.6268, allocations: 0.6146 MB / 1.035 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6268, allocations: 4.062 kB / 1.035 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.6269, allocations: 79.91 kB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.6273, allocations: 37.69 kB / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.6311, allocations: 3.038 MB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.6314, allocations: 0.7245 MB / 1.039 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.6315, allocations: 21.55 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.6315, allocations: 63.41 kB / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.6315, allocations: 0 / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.6474, allocations: 5.921 MB / 1.044 GB, free: 9.355 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.6476, allocations: 203.6 kB / 1.045 GB, free: 9.102 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.494, allocations: 2.625 kB / 1.045 GB, free: 9.102 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