Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_latest_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.006967/0.006967, allocations: 99.95 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.001452/0.001452, allocations: 191.7 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.7421 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.14 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9053, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002104/0.9074, allocations: 0.8337 MB / 1.221 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.9093, allocations: 1.482 MB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.9094, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.9095, allocations: 23.8 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.9096, allocations: 31.72 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.911, allocations: 0.5246 MB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.9117, allocations: 0.4953 MB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.9119, allocations: 49.42 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.9122, allocations: 183.7 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.9125, allocations: 167.6 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.9126, allocations: 44 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.9127, allocations: 51.98 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.9128, allocations: 43.84 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.913, allocations: 159.5 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.9136, allocations: 422.4 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9136, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9136, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.9136, allocations: 0 / 1.224 GB, free: 13.77 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.0008609/0.9145, allocations: 0.6499 MB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9145, allocations: 12.62 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.9146, allocations: 46.73 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.9147, allocations: 28.84 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.915, allocations: 268 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.915, allocations: 16.38 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.9151, allocations: 32.38 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.9154, allocations: 147.9 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9154, allocations: 3.938 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.9154, allocations: 11.98 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.9154, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.9156, allocations: 83.89 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.9165, allocations: 0.7071 MB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.9167, allocations: 171.6 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.622e-05/0.9168, allocations: 44.83 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.9168, allocations: 4.094 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.917, allocations: 163.2 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.9171, allocations: 0 / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004902/0.9176, allocations: 245.5 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.9176, allocations: 55.41 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.9178, allocations: 186.2 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.9178, allocations: 41.64 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.918, allocations: 128.6 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.918, allocations: 51.62 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.9182, allocations: 109.6 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9183, allocations: 330.8 kB / 1.228 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.9187, allocations: 155.9 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.919, allocations: 251.2 kB / 1.228 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.9195, allocations: 401.9 kB / 1.228 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.9195, allocations: 0 / 1.228 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009793/0.9205, allocations: 0.6149 MB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.9206, allocations: 168.4 kB / 1.229 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.9206, allocations: 4 kB / 1.229 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.9207, allocations: 4 kB / 1.229 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-05/0.9207, allocations: 11.92 kB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.9207, allocations: 4 kB / 1.229 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.9215, allocations: 143.9 kB / 1.229 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.9216, allocations: 35.97 kB / 1.229 GB, free: 8.055 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.0001732/0.9218, allocations: 154.3 kB / 1.229 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.9218, allocations: 19.84 kB / 1.229 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.9218, allocations: 17.88 kB / 1.229 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.9219, allocations: 4 kB / 1.229 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9219, allocations: 3.938 kB / 1.229 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9219, allocations: 3.984 kB / 1.229 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.9224, allocations: 0.4994 MB / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9224, allocations: 0 / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.9225, allocations: 7.938 kB / 1.23 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9225, allocations: 4 kB / 1.23 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.9225, allocations: 11.98 kB / 1.23 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.9225, allocations: 0 / 1.23 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9225, allocations: 0 / 1.23 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.9228, allocations: 285.9 kB / 1.23 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.9228, allocations: 96.94 kB / 1.23 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.9229, allocations: 4 kB / 1.23 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.923, allocations: 7.938 kB / 1.23 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.923, allocations: 27.92 kB / 1.23 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.923, allocations: 12 kB / 1.23 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.531e-05/0.9231, allocations: 120.2 kB / 1.231 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9231, allocations: 3.938 kB / 1.231 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003796/0.9235, allocations: 79.98 kB / 1.231 GB, free: 6.605 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.0006401/0.9242, allocations: 0.8398 MB / 1.231 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007955/0.925, allocations: 0.6204 MB / 1.232 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.925, allocations: 0 / 1.232 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.9251, allocations: 79.89 kB / 1.232 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.9256, allocations: 58.61 kB / 1.232 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.9293, allocations: 2.996 MB / 1.235 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.9296, allocations: 0.7281 MB / 1.236 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.487e-05/0.9297, allocations: 17.55 kB / 1.236 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.568e-05/0.9298, allocations: 59.41 kB / 1.236 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9298, allocations: 0 / 1.236 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.9565, allocations: 6.359 MB / 1.242 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.787, allocations: 20.34 kB / 1.242 GB, free: 10.71 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches