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.009625/0.009625, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001707/0.001707, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3116, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002602/0.3142, allocations: 1.491 MB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3156, allocations: 0.7482 MB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.3156, allocations: 0 / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3157, allocations: 3.938 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.3158, allocations: 27.78 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3163, allocations: 115.6 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3165, allocations: 75.77 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3166, allocations: 8.188 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3167, allocations: 39.89 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.944e-05/0.3168, allocations: 35.84 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3168, allocations: 8 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.3171, allocations: 95.84 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3171, allocations: 19.92 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.3172, allocations: 27.86 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3174, allocations: 155.5 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3174, allocations: 0 / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3175, allocations: 0 / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3175, allocations: 0 / 1.21 GB, free: 6.781 MB / 0.9669 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.0007895/0.3183, allocations: 450.6 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3183, allocations: 8.625 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.3184, allocations: 8.844 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3185, allocations: 172.2 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3185, allocations: 4.375 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3186, allocations: 4.375 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.3188, allocations: 77.77 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3188, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3188, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3188, allocations: 4 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.319, allocations: 43.91 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.3196, allocations: 300.8 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.3197, allocations: 46.55 kB / 1.212 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.3198, allocations: 36.97 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3199, allocations: 0 / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.3201, allocations: 83.31 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3201, allocations: 0 / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004716/0.3206, allocations: 149.5 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3206, allocations: 63.33 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3208, allocations: 131.5 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3208, allocations: 29.7 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.3208, allocations: 96.03 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.3209, allocations: 23.81 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.3209, allocations: 29.7 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.321, allocations: 318.8 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.3211, allocations: 31.91 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.3212, allocations: 69.08 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3214, allocations: 93.06 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3214, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002121/0.3216, allocations: 109.5 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3216, allocations: 4 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3216, allocations: 0 / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3217, allocations: 4 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.3218, allocations: 16.09 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3218, allocations: 7.984 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.3219, allocations: 7.953 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3219, allocations: 7.984 kB / 1.213 GB, free: 4.129 MB / 0.9669 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.916e-05/0.322, allocations: 125.7 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.322, allocations: 7.906 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.322, allocations: 16.36 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.322, allocations: 0 / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.322, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3221, allocations: 0 / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.3225, allocations: 390.4 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3225, allocations: 0 / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.3226, allocations: 4 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3226, allocations: 7.922 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3226, allocations: 0 / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3226, allocations: 3.938 kB / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3226, allocations: 0 / 1.213 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3229, allocations: 223.3 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.323, allocations: 85.02 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.323, allocations: 3.984 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.102e-05/0.3231, allocations: 7.938 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3231, allocations: 0 / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3231, allocations: 7.984 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.3232, allocations: 99.27 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3232, allocations: 4 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002978/0.3235, allocations: 36 kB / 1.214 GB, free: 3.02 MB / 0.9669 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.0003299/0.3238, allocations: 153.9 kB / 1.214 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.3241, allocations: 75.89 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3241, allocations: 0 / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3242, allocations: 35.92 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3245, allocations: 18.67 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3249, allocations: 184.3 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3252, allocations: 0.6927 MB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.3252, allocations: 4.094 kB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.3252, allocations: 11.44 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3252, allocations: 0 / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of Templates: time 0.00402/0.3293, allocations: 1.512 MB / 1.216 GB, free: 340 kB / 0.9669 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