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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001037/0.001037, allocations: 197.2 kB / 16.14 MB, free: 6.727 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.478/2.478, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 65.23 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3162, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002076/0.3183, allocations: 0.8849 MB / 1.053 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3202, allocations: 1.549 MB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.3203, allocations: 4 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.3205, allocations: 15.86 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3206, allocations: 23.77 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.3219, allocations: 496.5 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.3223, allocations: 423.2 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3225, allocations: 45.47 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3226, allocations: 159.6 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3228, allocations: 135.6 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.3229, allocations: 24 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.323, allocations: 39.98 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.323, allocations: 35.91 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.3232, allocations: 143.5 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.3236, allocations: 399.2 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3236, allocations: 0 / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3236, allocations: 0 / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3236, allocations: 0 / 1.056 GB, free: 3.887 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.000683/0.3243, allocations: 0.6438 MB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3243, allocations: 11.97 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.3244, allocations: 46.73 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.3245, allocations: 28.75 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3248, allocations: 252.1 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3248, allocations: 24.36 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3249, allocations: 28.38 kB / 1.057 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3251, allocations: 153.8 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3252, allocations: 3.938 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3252, allocations: 8 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3252, allocations: 7.938 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3253, allocations: 79.94 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.3261, allocations: 0.7109 MB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3263, allocations: 175.6 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.3264, allocations: 40.84 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3264, allocations: 4.094 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3267, allocations: 157 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.3267, allocations: 4 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.000428/0.3271, allocations: 245.4 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3272, allocations: 59.41 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3273, allocations: 183.8 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.3274, allocations: 37.7 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.3275, allocations: 128.4 kB / 1.059 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3275, allocations: 35.55 kB / 1.059 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.3277, allocations: 117.6 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3278, allocations: 326.8 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.3281, allocations: 155.9 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.3285, allocations: 250.1 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.3289, allocations: 408.1 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3289, allocations: 0 / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008799/0.3298, allocations: 0.6222 MB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/0.3299, allocations: 169.5 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3299, allocations: 4.344 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3299, allocations: 8 kB / 1.061 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.33, allocations: 7.938 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.33, allocations: 4 kB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.3307, allocations: 147.6 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.3308, allocations: 35.97 kB / 1.062 GB, free: 14.18 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.000171/0.331, allocations: 153.5 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.331, allocations: 23.73 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.3311, allocations: 25.8 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3311, allocations: 4 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3311, allocations: 4 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3311, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3316, allocations: 0.503 MB / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3316, allocations: 0 / 1.062 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.3316, allocations: 11.92 kB / 1.062 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3316, allocations: 0 / 1.062 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3317, allocations: 8 kB / 1.062 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3317, allocations: 11.98 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3317, allocations: 0 / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3319, allocations: 288.9 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.332, allocations: 92.86 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.332, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.3321, allocations: 11.98 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.3322, allocations: 15.98 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3322, allocations: 11.98 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.454e-05/0.3323, allocations: 115.2 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3323, allocations: 4 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003559/0.3326, allocations: 84 kB / 1.063 GB, free: 12.73 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.0005603/0.3332, allocations: 0.8263 MB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.3339, allocations: 0.6194 MB / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3339, allocations: 0 / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.334, allocations: 79.91 kB / 1.064 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.3344, allocations: 40.52 kB / 1.064 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.3381, allocations: 3.018 MB / 1.067 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3383, allocations: 0.7284 MB / 1.068 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.605e-05/0.3384, allocations: 25.55 kB / 1.068 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.3385, allocations: 59.41 kB / 1.068 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3385, allocations: 0 / 1.068 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3834/0.7219, allocations: 5.985 MB / 1.074 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.7222, allocations: 210.1 kB / 1.074 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.628, allocations: 4 kB / 1.074 GB, free: 0.957 MB / 0.8262 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