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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007892/0.0007892, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005672/0.005672, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003622, allocations: 18.11 kB / 0.9029 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.323, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001086/0.3242, allocations: 0.5479 MB / 1.059 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3262, allocations: 1.537 MB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.3263, allocations: 4 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.3264, allocations: 15.86 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.3265, allocations: 23.78 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3278, allocations: 497.6 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.3283, allocations: 419.3 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3285, allocations: 37.48 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.3287, allocations: 167.6 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3289, allocations: 119.6 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.329, allocations: 31.92 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3291, allocations: 35.98 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.3292, allocations: 27.91 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.3294, allocations: 169.2 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.3298, allocations: 391.1 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3298, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3298, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3298, allocations: 0 / 1.063 GB, free: 0.8125 MB / 0.8106 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.0006316/0.3304, allocations: 0.562 MB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3305, allocations: 15.97 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.3305, allocations: 50.73 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.3306, allocations: 28.75 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3309, allocations: 263.9 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.331, allocations: 16.38 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.3311, allocations: 36.36 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3313, allocations: 153.3 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3313, allocations: 3.938 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3313, allocations: 8 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3314, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3315, allocations: 79.95 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008447/0.3324, allocations: 0.7071 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3326, allocations: 171.6 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.3326, allocations: 48.84 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.3327, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.3329, allocations: 159.3 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.3329, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004232/0.3333, allocations: 239.7 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.3334, allocations: 63.39 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3335, allocations: 179.8 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.3336, allocations: 37.7 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3337, allocations: 132.4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3338, allocations: 47.44 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.3338, allocations: 53.69 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.334, allocations: 326.8 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.3343, allocations: 151.9 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.3346, allocations: 242.1 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.3351, allocations: 412.8 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3351, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009289/0.336, allocations: 0.6094 MB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.3362, allocations: 177.9 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3362, allocations: 7.938 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3362, allocations: 8.281 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.197e-05/0.3362, allocations: 8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3362, allocations: 7.938 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008921/0.3371, allocations: 193.5 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.3372, allocations: 35.97 kB / 1.068 GB, free: 11.2 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.000182/0.3374, allocations: 165.5 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3374, allocations: 19.75 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.3375, allocations: 21.86 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3375, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3375, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3375, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.3381, allocations: 0.5022 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3381, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.3381, allocations: 15.92 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3381, allocations: 64 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3381, allocations: 12 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3381, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3382, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.3384, allocations: 281.2 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3385, allocations: 92.86 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.3385, allocations: 8 kB / 1.069 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.3386, allocations: 7.984 kB / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.3387, allocations: 27.91 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3387, allocations: 11.98 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.578e-05/0.3388, allocations: 115.2 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3388, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003676/0.3392, allocations: 76 kB / 1.069 GB, free: 9.754 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.0006238/0.3398, allocations: 0.834 MB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007926/0.3406, allocations: 0.6116 MB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3406, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3407, allocations: 83.89 kB / 1.071 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3411, allocations: 44.64 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/0.3449, allocations: 3.028 MB / 1.074 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.3453, allocations: 0.7322 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.498e-05/0.3454, allocations: 25.53 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.3455, allocations: 55.42 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of SimCode: time 9.21e-07/0.3455, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.364, allocations: 5.909 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.3643, allocations: 224.8 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.186, allocations: 0 / 1.08 GB, free: 14.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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