Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_11_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.005252/0.005252, allocations: 102.3 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.001409/0.001409, allocations: 192.3 kB / 16.68 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 1.288/1.288, 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 11.1.0-maint.11.x/package.mo): time 2.454/2.454, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 63.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.6637, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001768/0.6655, allocations: 0.826 MB / 1.221 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.6672, allocations: 1.474 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.6673, allocations: 11.88 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.6674, allocations: 19.8 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.6675, allocations: 35.7 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.6685, allocations: 0.5128 MB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.6691, allocations: 0.4954 MB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.6692, allocations: 49.38 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.6694, allocations: 195.6 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.6696, allocations: 163.6 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.6697, allocations: 40 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.6698, allocations: 55.98 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.6699, allocations: 47.83 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.6701, allocations: 159.5 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.6705, allocations: 410.5 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6705, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6705, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.6705, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 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.0007344/0.6713, allocations: 0.6591 MB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.6713, allocations: 8.031 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.6714, allocations: 42.73 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.6714, allocations: 28.84 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.6717, allocations: 268.5 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.6718, allocations: 24.36 kB / 1.226 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.6718, allocations: 28.38 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.6721, allocations: 154.9 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.6721, allocations: 7.938 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.6722, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6722, allocations: 4 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.6723, allocations: 83.94 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.6731, allocations: 0.6992 MB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.6733, allocations: 179.6 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.6734, allocations: 40.84 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.6734, allocations: 4 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.6737, allocations: 155.3 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.6737, allocations: 96 / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004213/0.6741, allocations: 251.6 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.6742, allocations: 59.41 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.6743, allocations: 178.3 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.6744, allocations: 41.7 kB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.6745, allocations: 124.6 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.6746, allocations: 51.58 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.6747, allocations: 121.6 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6749, allocations: 322.8 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.6752, allocations: 159.9 kB / 1.228 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.6756, allocations: 239.2 kB / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.676, allocations: 416.8 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.676, allocations: 0 / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009284/0.677, allocations: 0.6109 MB / 1.229 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.6771, allocations: 172.4 kB / 1.229 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6771, allocations: 4.344 kB / 1.229 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6772, allocations: 8 kB / 1.23 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.871e-05/0.6772, allocations: 7.938 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6772, allocations: 4 kB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.6779, allocations: 143.6 kB / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.678, allocations: 35.97 kB / 1.23 GB, free: 7.801 MB / 0.9512 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.0001533/0.6782, allocations: 149.8 kB / 1.23 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.6782, allocations: 19.84 kB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.6782, allocations: 21.86 kB / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6782, allocations: 0 / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6782, allocations: 4 kB / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.6783, allocations: 8.047 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.6788, allocations: 0.5044 MB / 1.23 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.6788, allocations: 7.984 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.6788, allocations: 4 kB / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6789, allocations: 4 kB / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.6789, allocations: 0 / 1.23 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6789, allocations: 4 kB / 1.23 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6789, allocations: 0 / 1.23 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.6792, allocations: 291.2 kB / 1.231 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.6792, allocations: 92.95 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.6793, allocations: 7.984 kB / 1.231 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.6793, allocations: 4 kB / 1.231 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.6794, allocations: 19.94 kB / 1.231 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.6794, allocations: 15.92 kB / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.6795, allocations: 124.2 kB / 1.231 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6795, allocations: 4 kB / 1.231 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003277/0.6799, allocations: 72 kB / 1.231 GB, free: 6.355 MB / 0.9512 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.0006361/0.6805, allocations: 0.8478 MB / 1.232 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007922/0.6813, allocations: 0.616 MB / 1.232 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6813, allocations: 0 / 1.232 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.6814, allocations: 81.62 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.6818, allocations: 48.44 kB / 1.233 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.6856, allocations: 3.004 MB / 1.235 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.6859, allocations: 0.7242 MB / 1.236 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.664e-05/0.686, allocations: 25.55 kB / 1.236 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.6861, allocations: 59.42 kB / 1.236 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.6861, allocations: 0 / 1.236 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.725/2.411, allocations: 6.357 MB / 1.242 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.426/11.84, allocations: 13.31 kB / 1.242 GB, free: 10.44 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches