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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001478/0.001478, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 194 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3104, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002337/0.3128, allocations: 0.8353 MB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.315, allocations: 1.484 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.3151, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3153, allocations: 19.8 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.3154, allocations: 31.7 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3166, allocations: 0.51 MB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.3173, allocations: 0.4953 MB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3174, allocations: 37.48 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.3177, allocations: 183.7 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3179, allocations: 139.6 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.318, allocations: 44 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3182, allocations: 51.98 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3182, allocations: 43.89 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.3185, allocations: 163.5 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.3189, allocations: 407.2 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3189, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3189, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.3189, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 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.0008544/0.3198, allocations: 0.6515 MB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3199, allocations: 8.031 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.3199, allocations: 46.67 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.903e-05/0.32, allocations: 28.75 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.3203, allocations: 257.3 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3204, allocations: 16.38 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.3204, allocations: 40.36 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3207, allocations: 156.7 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3207, allocations: 3.938 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3207, allocations: 0 / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3207, allocations: 4 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3209, allocations: 79.95 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.3217, allocations: 0.7147 MB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.322, allocations: 167.7 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.322, allocations: 48.83 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.3221, allocations: 4 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.3223, allocations: 155.4 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3223, allocations: 3.938 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004686/0.3228, allocations: 244.6 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3229, allocations: 55.41 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.323, allocations: 186.8 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.3231, allocations: 41.7 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3232, allocations: 128.4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3233, allocations: 35.55 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.3234, allocations: 117.5 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3236, allocations: 330.8 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.3239, allocations: 159.8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.3243, allocations: 246.7 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.3247, allocations: 416.1 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3247, allocations: 0 / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009404/0.3257, allocations: 0.6186 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.3258, allocations: 168.4 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3258, allocations: 4 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3258, allocations: 4.344 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.3258, allocations: 11.98 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3259, allocations: 7.938 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/0.3267, allocations: 143.7 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.3267, allocations: 27.98 kB / 1.073 GB, free: 4.371 MB / 0.8262 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.0001582/0.3269, allocations: 161.7 kB / 1.073 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3269, allocations: 19.75 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.327, allocations: 17.88 kB / 1.073 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.327, allocations: 4 kB / 1.073 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.327, allocations: 0 / 1.073 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.327, allocations: 7.984 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3275, allocations: 0.506 MB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3275, allocations: 0 / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.3276, allocations: 4 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3276, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3276, allocations: 11.98 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3276, allocations: 3.938 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3276, allocations: 0 / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3279, allocations: 285 kB / 1.074 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.3279, allocations: 96.84 kB / 1.074 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.328, allocations: 8 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.328, allocations: 4 kB / 1.074 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.3281, allocations: 19.97 kB / 1.074 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3281, allocations: 8 kB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.3282, allocations: 115.2 kB / 1.074 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3282, allocations: 0 / 1.074 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003566/0.3286, allocations: 87.98 kB / 1.074 GB, free: 2.926 MB / 0.8262 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.0006295/0.3292, allocations: 0.8229 MB / 1.075 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007588/0.33, allocations: 0.6315 MB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.33, allocations: 0 / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3301, allocations: 79.91 kB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3305, allocations: 39.97 kB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.3343, allocations: 2.992 MB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3346, allocations: 0.7242 MB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.184e-05/0.3347, allocations: 25.55 kB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.3348, allocations: 51.42 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3348, allocations: 0 / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.3596, allocations: 6.33 MB / 1.086 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.642, allocations: 9.109 kB / 1.086 GB, free: 7.078 MB / 0.8419 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