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.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: 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.0008097/0.0008099, 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.006199/0.006199, allocations: 170.5 kB / 16.27 MB, free: 6.32 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.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 13.94 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001638/0.3396, allocations: 1.217 MB / 1.06 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3409, allocations: 0.7478 MB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/0.3409, allocations: 0 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.341, allocations: 7.922 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.341, allocations: 7.875 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.3415, allocations: 103.8 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.851e-05/0.3417, allocations: 59.84 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3418, allocations: 16.19 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.3419, allocations: 35.83 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.704e-05/0.3419, allocations: 31.91 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.342, allocations: 0 / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3422, allocations: 91.84 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.3422, allocations: 11.92 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.3423, allocations: 65.48 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3425, allocations: 131.9 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3425, allocations: 0 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3425, allocations: 0 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.3425, allocations: 4 kB / 1.061 GB, free: 2.91 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.0005463/0.3431, allocations: 438.7 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3431, allocations: 12.02 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3432, allocations: 8.844 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3433, allocations: 172.2 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.3433, allocations: 4.375 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3434, allocations: 4.375 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3436, allocations: 81.77 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3436, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3436, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.3436, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3438, allocations: 51.91 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.3443, allocations: 304.8 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3445, allocations: 46.56 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.3446, allocations: 40.95 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3446, allocations: 8 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.3448, allocations: 79.31 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3448, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004456/0.3453, allocations: 153.8 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3453, allocations: 59.47 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.3454, allocations: 129.1 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3455, allocations: 33.64 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.3455, allocations: 96.03 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.3456, allocations: 19.69 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.3456, allocations: 17.72 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3457, allocations: 326.8 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.3458, allocations: 27.98 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.3459, allocations: 61.08 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3461, allocations: 97.06 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3461, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002325/0.3463, allocations: 117.5 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3463, allocations: 5.25 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3464, allocations: 8 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3464, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.3465, allocations: 15.98 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3465, allocations: 12.16 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.3466, allocations: 15.91 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3466, allocations: 7.984 kB / 1.063 GB, free: 240 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.p,$PRE.bli.p,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.3467, allocations: 121.7 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.3467, allocations: 7.906 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.3467, allocations: 8.375 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3467, allocations: 8.031 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3467, allocations: 0 / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3468, allocations: 4 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3472, allocations: 398.4 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3473, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.3473, allocations: 4 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3473, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3473, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3473, allocations: 15.92 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3473, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.3476, allocations: 223.3 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.3477, allocations: 81.02 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3477, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.3478, allocations: 11.94 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3479, allocations: 7.984 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3479, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.3479, allocations: 99.27 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3479, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003127/0.3483, allocations: 39.98 kB / 1.064 GB, free: 15.12 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 (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.000323/0.3486, allocations: 164.9 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3488, allocations: 75.89 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3488, allocations: 0 / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.349, allocations: 44.23 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3492, allocations: 13.7 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.3496, allocations: 205.2 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.3499, allocations: 0.6926 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.3499, allocations: 4 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.3499, allocations: 11.44 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3499, allocations: 3.938 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.003949/0.3539, allocations: 1.419 MB / 1.067 GB, free: 12.48 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