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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005117/0.005117, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001888/0.001888, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3175, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002096/0.3196, allocations: 0.8279 MB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3216, allocations: 1.474 MB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.3217, allocations: 4 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.3218, allocations: 15.8 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.322, allocations: 35.7 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.3233, allocations: 0.5184 MB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.3239, allocations: 0.4953 MB / 1.245 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.324, allocations: 45.47 kB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.3243, allocations: 187.7 kB / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.3246, allocations: 171.5 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.239e-05/0.3247, allocations: 48 kB / 1.245 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3248, allocations: 55.92 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.3249, allocations: 39.91 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.3251, allocations: 159.5 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.3256, allocations: 406.8 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3256, allocations: 4 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3256, allocations: 0 / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.3256, allocations: 0 / 1.246 GB, free: 5.77 MB / 0.9981 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.0008522/0.3265, allocations: 0.6475 MB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3265, allocations: 16.03 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.3266, allocations: 46.73 kB / 1.247 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.3267, allocations: 28.84 kB / 1.247 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.3271, allocations: 268 kB / 1.247 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3271, allocations: 20.31 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.3272, allocations: 32.36 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3274, allocations: 156.6 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3275, allocations: 3.938 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3275, allocations: 4 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3275, allocations: 8 kB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.3277, allocations: 87.8 kB / 1.247 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009215/0.3286, allocations: 0.7032 MB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3288, allocations: 171.6 kB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.3289, allocations: 44.84 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.3289, allocations: 4 kB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.3292, allocations: 151.4 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 3.818e-06/0.3292, allocations: 3.938 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004813/0.3297, allocations: 247.2 kB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3298, allocations: 59.41 kB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.33, allocations: 186.3 kB / 1.249 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.3301, allocations: 37.7 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3302, allocations: 132.6 kB / 1.249 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.3302, allocations: 35.69 kB / 1.249 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.3305, allocations: 117.6 kB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3306, allocations: 326.8 kB / 1.249 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.331, allocations: 159.9 kB / 1.249 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.3314, allocations: 246.7 kB / 1.25 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/0.3319, allocations: 406.8 kB / 1.25 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3319, allocations: 0 / 1.25 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001064/0.333, allocations: 0.6214 MB / 1.251 GB, free: 440 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.3331, allocations: 164.4 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3332, allocations: 8.062 kB / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3332, allocations: 4.344 kB / 1.251 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.099e-05/0.3332, allocations: 15.94 kB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.3332, allocations: 11.92 kB / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.334, allocations: 139.7 kB / 1.251 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.3341, allocations: 31.98 kB / 1.251 GB, free: 32 kB / 0.9981 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.5204/0.8545, allocations: 153.3 kB / 1.251 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.8546, allocations: 20.72 kB / 1.251 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.8546, allocations: 18.41 kB / 1.251 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.8547, allocations: 2.031 kB / 1.251 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8547, allocations: 0 / 1.251 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8547, allocations: 4.344 kB / 1.251 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.8553, allocations: 0.5061 MB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8554, allocations: 1.953 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.8554, allocations: 8.609 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.8554, allocations: 5.344 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.8554, allocations: 5.094 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8554, allocations: 0.75 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8554, allocations: 1.844 kB / 1.252 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.8558, allocations: 281.1 kB / 1.252 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.8558, allocations: 99.81 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.8558, allocations: 8.297 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.8559, allocations: 5.422 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.856, allocations: 17.86 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.856, allocations: 12.88 kB / 1.252 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.801e-05/0.8561, allocations: 117.5 kB / 1.252 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8561, allocations: 4.781 kB / 1.252 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004128/0.8565, allocations: 79.31 kB / 1.252 GB, free: 14.43 MB / 0.9981 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.0005264/0.8571, allocations: 0.8321 MB / 1.253 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.8578, allocations: 0.6184 MB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8578, allocations: 2.281 kB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.858, allocations: 78.88 kB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.8584, allocations: 43.34 kB / 1.254 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.8621, allocations: 2.995 MB / 1.257 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.8624, allocations: 0.7291 MB / 1.257 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.551e-05/0.8625, allocations: 25.83 kB / 1.257 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.8625, allocations: 54.97 kB / 1.258 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.8625, allocations: 6.391 kB / 1.258 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.8908, allocations: 6.368 MB / 1.264 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.842, allocations: 7.484 kB / 1.264 GB, free: 10.2 MB / 0.9981 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 400 --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