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.001801/0.001801, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002345/0.002345, allocations: 194.5 kB / 16.25 MB, free: 6.637 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.461/2.461, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.758, allocations: 140.3 MB / 0.9491 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002573/0.7606, allocations: 1.558 MB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.7618, allocations: 0.7294 MB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.7619, allocations: 1.25 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.7619, allocations: 7.922 kB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.762, allocations: 9.109 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.7625, allocations: 110.9 kB / 0.9514 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.7627, allocations: 77.8 kB / 0.9515 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.7628, allocations: 23.03 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.7629, allocations: 29.67 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.7629, allocations: 37.45 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.763, allocations: 6.875 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.7632, allocations: 92.94 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.7632, allocations: 19.52 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.7632, allocations: 32.8 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.7635, allocations: 140.8 kB / 0.9519 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7635, allocations: 4 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7635, allocations: 3.938 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.7635, allocations: 0 / 0.9519 GB, free: 7.055 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.0005349/0.764, allocations: 455.6 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7641, allocations: 9.5 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.7641, allocations: 9 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.781e-05/0.7642, allocations: 180.1 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.7643, allocations: 10.48 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.7643, allocations: 7.656 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.7645, allocations: 73.97 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.7645, allocations: 0 / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7645, allocations: 0 / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7646, allocations: 1.5 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.7647, allocations: 37.72 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.7651, allocations: 309.6 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.7653, allocations: 44.41 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.7654, allocations: 32.69 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.7654, allocations: 1 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.7656, allocations: 85.84 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.7656, allocations: 3.938 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004165/0.766, allocations: 142.5 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.7661, allocations: 56.45 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.7662, allocations: 127.8 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.7662, allocations: 30.89 kB / 0.9534 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.7662, allocations: 91.09 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.7663, allocations: 18.66 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.7663, allocations: 33.8 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.7664, allocations: 319.6 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.7664, allocations: 25.61 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.447e-05/0.7665, allocations: 61.8 kB / 0.954 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.7667, allocations: 87.66 kB / 0.954 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7667, allocations: 5.344 kB / 0.9541 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001998/0.7669, allocations: 117.1 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7669, allocations: 4.406 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7669, allocations: 1.469 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7669, allocations: 2.562 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.767, allocations: 17.27 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7671, allocations: 6.812 kB / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.7671, allocations: 4.562 kB / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.7671, allocations: 7.531 kB / 0.9542 GB, free: 4.82 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 7.172e-05/0.7672, allocations: 122.9 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.7672, allocations: 11.61 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.7673, allocations: 10.62 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.7673, allocations: 3.938 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7673, allocations: 1.125 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7673, allocations: 4.031 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.7677, allocations: 393.6 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.7677, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.7678, allocations: 6.828 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7678, allocations: 1.25 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7678, allocations: 1.344 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.7678, allocations: 3.938 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7678, allocations: 0 / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.7681, allocations: 223.2 kB / 0.955 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.7681, allocations: 91.59 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.7681, allocations: 1.469 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.7682, allocations: 10.66 kB / 0.9551 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.7683, allocations: 6.234 kB / 0.9551 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.7683, allocations: 2.438 kB / 0.9551 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.7683, allocations: 93.2 kB / 0.9552 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7683, allocations: 0 / 0.9552 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003305/0.7687, allocations: 41.05 kB / 0.9552 GB, free: 3.891 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.0003397/0.769, allocations: 170.2 kB / 0.9554 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.7693, allocations: 66.12 kB / 0.9554 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7693, allocations: 0 / 0.9554 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.7694, allocations: 49.12 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.7697, allocations: 5.531 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.7701, allocations: 204.7 kB / 0.9557 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.7702, allocations: 0.6967 MB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.7703, allocations: 3 kB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.7703, allocations: 10.38 kB / 0.9564 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7703, allocations: 1.094 kB / 0.9564 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.003812/0.7741, allocations: 1.459 MB / 0.9578 GB, free: 2.066 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