Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000801/0.0008009, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008588/0.0008588, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004561, allocations: 8.094 kB / 0.9021 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3986, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001972/0.4006, allocations: 1.198 MB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.402, allocations: 0.6898 MB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.4021, allocations: 4 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.4021, allocations: 7.938 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.4022, allocations: 7.875 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.4027, allocations: 95.77 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.4028, allocations: 67.77 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.4029, allocations: 12.17 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.4031, allocations: 31.92 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.4031, allocations: 31.83 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.4032, allocations: 4 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.4034, allocations: 79.92 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.4034, allocations: 19.91 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.4034, allocations: 33.7 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.4036, allocations: 96.05 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4036, allocations: 0 / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4036, allocations: 0 / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.4036, allocations: 0 / 1.06 GB, free: 2.918 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005849/0.4042, allocations: 448 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4043, allocations: 15.97 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.4043, allocations: 7.906 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4045, allocations: 175 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.4045, allocations: 0 / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4045, allocations: 11.95 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.4047, allocations: 73.66 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4048, allocations: 0 / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4048, allocations: 0 / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4048, allocations: 7.969 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4049, allocations: 43.98 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.4055, allocations: 308.6 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4056, allocations: 50.56 kB / 1.061 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.4057, allocations: 36.97 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4057, allocations: 80 / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.406, allocations: 99.27 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.406, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004065/0.4064, allocations: 149.5 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4064, allocations: 55.41 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.4065, allocations: 128.8 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4066, allocations: 29.7 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.4066, allocations: 88.33 kB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4066, allocations: 15.75 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.4067, allocations: 4 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4068, allocations: 326.8 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.4069, allocations: 27.98 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.407, allocations: 69 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.25e-05/0.407, allocations: 32 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4071, allocations: 0 / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.4073, allocations: 117.4 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4073, allocations: 9.719 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4073, allocations: 7.984 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4073, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.4074, allocations: 8 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4075, allocations: 7.938 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.311e-05/0.4075, allocations: 7.984 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.4075, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.4077, allocations: 129.7 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.4077, allocations: 7.906 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.4077, allocations: 8.375 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4077, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4077, allocations: 3.984 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4077, allocations: 3.938 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.4082, allocations: 402.3 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4083, allocations: 4 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.4083, allocations: 8 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4083, allocations: 4 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4083, allocations: 3.984 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4083, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4084, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.4087, allocations: 223.4 kB / 1.063 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.4088, allocations: 85.02 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4088, allocations: 4 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.4089, allocations: 7.984 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.409, allocations: 4 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.409, allocations: 3.984 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.4091, allocations: 99.27 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4091, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000362/0.4094, allocations: 36 kB / 1.064 GB, free: 15.23 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003744/0.4098, allocations: 163.5 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.4101, allocations: 83.89 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4101, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4102, allocations: 44.39 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4105, allocations: 11.94 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.4109, allocations: 213.3 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4112, allocations: 0.6887 MB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.4113, allocations: 4.188 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.4113, allocations: 11.42 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.4113, allocations: 4 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.004456/0.4158, allocations: 1.365 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time