Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_9_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.005368/0.005368, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001213/0.001213, allocations: 202.3 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 67.33 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3233, allocations: 140.4 MB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002673/0.326, allocations: 0.8367 MB / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.3286, allocations: 1.477 MB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3287, allocations: 8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3289, allocations: 23.73 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.045e-05/0.329, allocations: 31.72 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.3304, allocations: 0.5242 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.3311, allocations: 0.4953 MB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.3313, allocations: 37.48 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.3316, allocations: 187.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.3319, allocations: 171.5 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.332, allocations: 40 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3321, allocations: 55.98 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.3322, allocations: 43.89 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3324, allocations: 155.5 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3329, allocations: 415 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3329, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3329, allocations: 3.938 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.333, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 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.001035/0.334, allocations: 0.6553 MB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3341, allocations: 8.031 kB / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.876e-05/0.3341, allocations: 42.73 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3342, allocations: 32.8 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3346, allocations: 261 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3347, allocations: 20.36 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.3348, allocations: 32.38 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.335, allocations: 147.9 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3351, allocations: 7.938 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.3351, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3351, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.3353, allocations: 87.88 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.3362, allocations: 0.6994 MB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.3365, allocations: 175.6 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.3366, allocations: 44.88 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3366, allocations: 8.062 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.337, allocations: 155.2 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.337, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004958/0.3375, allocations: 258.7 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3375, allocations: 55.41 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3377, allocations: 174.8 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/0.3378, allocations: 41.7 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3379, allocations: 128.5 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3379, allocations: 43.69 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.3381, allocations: 117.6 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3383, allocations: 326.8 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3386, allocations: 159.9 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.3389, allocations: 234.9 kB / 1.096 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.3394, allocations: 411.2 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3394, allocations: 4 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009752/0.3404, allocations: 0.6148 MB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.3405, allocations: 172.8 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3405, allocations: 8 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3405, allocations: 4 kB / 1.097 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.834e-05/0.3406, allocations: 7.938 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3406, allocations: 4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.3414, allocations: 143.6 kB / 1.097 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.3414, allocations: 35.97 kB / 1.097 GB, free: 7.816 MB / 0.8575 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.0001883/0.3416, allocations: 157.5 kB / 1.097 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3417, allocations: 19.84 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.3417, allocations: 21.86 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3417, allocations: 4 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3418, allocations: 4.062 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3418, allocations: 0 / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.3423, allocations: 0.5158 MB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3423, allocations: 0 / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.3424, allocations: 7.984 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3424, allocations: 4 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3424, allocations: 3.938 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3424, allocations: 0 / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3424, allocations: 3.938 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3427, allocations: 291.3 kB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.3428, allocations: 89.02 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.3428, allocations: 7.984 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3429, allocations: 4 kB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3429, allocations: 19.98 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3429, allocations: 15.91 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.343, allocations: 120.2 kB / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.343, allocations: 4 kB / 1.098 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000368/0.3434, allocations: 75.94 kB / 1.098 GB, free: 6.367 MB / 0.8575 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.0006499/0.3441, allocations: 0.8353 MB / 1.099 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007694/0.3449, allocations: 0.6101 MB / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3449, allocations: 0 / 1.1 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.345, allocations: 79.91 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3454, allocations: 51.91 kB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3491, allocations: 2.997 MB / 1.103 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3494, allocations: 0.7319 MB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.238e-05/0.3495, allocations: 25.55 kB / 1.104 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.3496, allocations: 55.42 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of SimCode: time 6.51e-07/0.3496, allocations: 0 / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.375, allocations: 6.365 MB / 1.11 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.312, allocations: 3.797 kB / 1.11 GB, free: 10.47 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches