Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001232/0.001232, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.673, allocations: 140.4 MB / 0.9489 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002813/0.6758, allocations: 1.554 MB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.677, allocations: 0.7508 MB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.677, allocations: 1.375 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.6771, allocations: 3.938 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.6771, allocations: 5.312 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.6776, allocations: 100.6 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.6777, allocations: 74.11 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.6778, allocations: 18.64 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.6779, allocations: 32.56 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.678, allocations: 35.44 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.678, allocations: 2.969 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.6782, allocations: 89.69 kB / 0.9515 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.6782, allocations: 18.62 kB / 0.9515 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.6783, allocations: 33.08 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.6785, allocations: 132.5 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6785, allocations: 4 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6785, allocations: 0 / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6785, allocations: 3.938 kB / 0.9517 GB, free: 7.047 MB / 0.7169 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.0004997/0.679, allocations: 454.2 kB / 0.9521 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.679, allocations: 9 kB / 0.9521 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.6791, allocations: 9.312 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.829e-05/0.6792, allocations: 180.3 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.6792, allocations: 3.062 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.6792, allocations: 7.719 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6794, allocations: 77.33 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6794, allocations: 0 / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.6794, allocations: 0 / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6794, allocations: 1.344 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.6796, allocations: 40.59 kB / 0.9524 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.68, allocations: 306.5 kB / 0.9527 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.6801, allocations: 48.31 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.6802, allocations: 32.12 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.6803, allocations: 5.422 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.6804, allocations: 77.58 kB / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6805, allocations: 5.062 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000389/0.6808, allocations: 149.2 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.6809, allocations: 54.94 kB / 0.9531 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.681, allocations: 130.3 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.681, allocations: 27.14 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.681, allocations: 90.67 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.681, allocations: 22.17 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.6811, allocations: 26.5 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.6811, allocations: 324.1 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.6812, allocations: 29.52 kB / 0.9537 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.6813, allocations: 61.42 kB / 0.9538 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.6814, allocations: 95.88 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6814, allocations: 1.281 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002071/0.6817, allocations: 120.7 kB / 0.954 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6817, allocations: 6.438 kB / 0.954 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6817, allocations: 2.656 kB / 0.954 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.6817, allocations: 1.25 kB / 0.954 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.6818, allocations: 14.02 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.6818, allocations: 1.531 kB / 0.954 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.6819, allocations: 8.375 kB / 0.954 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6819, allocations: 8.234 kB / 0.954 GB, free: 4.801 MB / 0.7169 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 6.414e-05/0.682, allocations: 127.2 kB / 0.9541 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.682, allocations: 8.188 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.682, allocations: 10.22 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.682, allocations: 0 / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.682, allocations: 0 / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.682, allocations: 1.406 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.6824, allocations: 388.8 kB / 0.9545 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6824, allocations: 7.984 kB / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.6825, allocations: 7.094 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.6825, allocations: 1.25 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6825, allocations: 1.125 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6825, allocations: 3.938 kB / 0.9545 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6825, allocations: 3.984 kB / 0.9545 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.6828, allocations: 211.1 kB / 0.9548 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.6828, allocations: 91.05 kB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.6828, allocations: 1.094 kB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.6829, allocations: 6.219 kB / 0.9548 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.683, allocations: 7.234 kB / 0.9549 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.683, allocations: 10.09 kB / 0.9549 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.683, allocations: 97.64 kB / 0.955 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.683, allocations: 3.938 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003017/0.6833, allocations: 40.45 kB / 0.955 GB, free: 3.875 MB / 0.7169 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.0002872/0.6836, allocations: 155 kB / 0.9551 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.6839, allocations: 76.66 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6839, allocations: 1.406 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.684, allocations: 32.11 kB / 0.9552 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.6843, allocations: 18.77 kB / 0.9553 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.6846, allocations: 202.2 kB / 0.9555 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.6847, allocations: 0.6936 MB / 0.9561 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.511e-05/0.6848, allocations: 6.391 kB / 0.9561 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.6848, allocations: 10.81 kB / 0.9562 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6848, allocations: 0 / 0.9562 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of Templates: time 0.003704/0.6885, allocations: 1.411 MB / 0.9575 GB, free: 2.086 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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