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.007836/0.007836, allocations: 101 kB / 15.73 MB, free: 6.059 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.001977/0.001978, allocations: 194 kB / 16.68 MB, free: 5.969 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.469/1.469, 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.7/2.7, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003148/0.003148, allocations: 60.12 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.04, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002205/1.042, allocations: 0.8259 MB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002225/1.044, allocations: 1.486 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/1.044, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/1.044, allocations: 15.8 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/1.044, allocations: 35.7 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/1.046, allocations: 0.5135 MB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006379/1.047, allocations: 0.4992 MB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/1.047, allocations: 45.44 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/1.047, allocations: 187.7 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/1.047, allocations: 171.5 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/1.047, allocations: 40 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/1.047, allocations: 55.92 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/1.048, allocations: 43.89 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/1.048, allocations: 167.4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/1.048, allocations: 414.5 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.048, allocations: 0 / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/1.048, allocations: 0 / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.363e-06/1.048, allocations: 0 / 1.225 GB, free: 13.53 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.0008749/1.049, allocations: 0.6474 MB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.049, allocations: 12.03 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.647e-05/1.049, allocations: 42.73 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/1.049, allocations: 28.84 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/1.05, allocations: 268.5 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/1.05, allocations: 24.36 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/1.05, allocations: 28.38 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/1.05, allocations: 149.2 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.05, allocations: 7.875 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/1.05, allocations: 8 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.05, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/1.05, allocations: 83.94 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/1.051, allocations: 0.7032 MB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/1.052, allocations: 171.6 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/1.052, allocations: 48.84 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/1.052, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/1.052, allocations: 161.3 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 3.366e-06/1.052, allocations: 192 / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0005147/1.052, allocations: 253.3 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.053, allocations: 55.41 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/1.053, allocations: 182.3 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/1.053, allocations: 37.7 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/1.053, allocations: 132.6 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/1.053, allocations: 47.64 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/1.053, allocations: 113.6 kB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.053, allocations: 326.8 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/1.054, allocations: 155.9 kB / 1.228 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/1.054, allocations: 247.2 kB / 1.228 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/1.055, allocations: 407.7 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.055, allocations: 0 / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001072/1.056, allocations: 0.6148 MB / 1.229 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/1.056, allocations: 174.1 kB / 1.229 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.056, allocations: 4 kB / 1.229 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.056, allocations: 4.094 kB / 1.229 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.568e-05/1.056, allocations: 11.94 kB / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/1.056, allocations: 11.94 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008153/1.057, allocations: 144 kB / 1.23 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/1.057, allocations: 35.97 kB / 1.23 GB, free: 7.805 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.0002372/1.057, allocations: 153.8 kB / 1.23 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/1.057, allocations: 19.84 kB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/1.057, allocations: 21.86 kB / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.057, allocations: 4 kB / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.057, allocations: 0 / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.057, allocations: 0 / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/1.058, allocations: 0.5045 MB / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.058, allocations: 0 / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/1.058, allocations: 15.94 kB / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.058, allocations: 0 / 1.23 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/1.058, allocations: 4 kB / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.058, allocations: 0 / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.058, allocations: 0 / 1.23 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/1.058, allocations: 287.2 kB / 1.231 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/1.058, allocations: 92.95 kB / 1.231 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.058, allocations: 7.984 kB / 1.231 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/1.059, allocations: 8 kB / 1.231 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/1.059, allocations: 19.94 kB / 1.231 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/1.059, allocations: 15.98 kB / 1.231 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001161/1.059, allocations: 124.2 kB / 1.231 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.059, allocations: 0 / 1.231 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003852/1.059, allocations: 76 kB / 1.231 GB, free: 6.363 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.0007682/1.06, allocations: 0.8443 MB / 1.232 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008251/1.061, allocations: 0.6101 MB / 1.232 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.061, allocations: 0 / 1.232 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/1.061, allocations: 81.45 kB / 1.232 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/1.061, allocations: 56.56 kB / 1.233 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/1.065, allocations: 2.998 MB / 1.235 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.066, allocations: 0.7281 MB / 1.236 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.459e-05/1.066, allocations: 21.55 kB / 1.236 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.454e-05/1.066, allocations: 51.42 kB / 1.236 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of SimCode: time 2.685e-06/1.066, allocations: 0 / 1.236 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/1.095, allocations: 6.365 MB / 1.242 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/9.574, allocations: 13.38 kB / 1.242 GB, free: 10.46 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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