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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001035/0.001035, allocations: 92.08 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.001577/0.001578, 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7852, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001566/0.7868, allocations: 1.192 MB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.788, allocations: 0.6969 MB / 0.9563 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.788, allocations: 1.5 kB / 0.9563 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.7881, allocations: 3.938 kB / 0.9563 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.862e-05/0.7882, allocations: 5.594 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.7887, allocations: 92.86 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.7888, allocations: 69 kB / 0.9564 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.7889, allocations: 17.88 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.789, allocations: 36.75 kB / 0.9565 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.7891, allocations: 26.06 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.7891, allocations: 3.344 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.7893, allocations: 88.72 kB / 0.9566 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.7893, allocations: 15.55 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.7894, allocations: 35.23 kB / 0.9567 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.7895, allocations: 103.7 kB / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7895, allocations: 0 / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7896, allocations: 5.094 kB / 0.9568 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7896, allocations: 0 / 0.9568 GB, free: 5.918 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.0004837/0.7901, allocations: 431.3 kB / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.7901, allocations: 9.281 kB / 0.9572 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.7901, allocations: 11.27 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.881e-05/0.7902, allocations: 187.3 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.7903, allocations: 3.156 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.7903, allocations: 3.531 kB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.7905, allocations: 75.58 kB / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.7905, allocations: 0 / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.7905, allocations: 0 / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7905, allocations: 2.031 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.7906, allocations: 50.17 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.791, allocations: 302.9 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7912, allocations: 56.03 kB / 0.9578 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.7913, allocations: 34.94 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.7913, allocations: 0 / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.7915, allocations: 85.39 kB / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7915, allocations: 0 / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003878/0.7919, allocations: 166.1 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.7919, allocations: 52.78 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.792, allocations: 128 kB / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.792, allocations: 30.98 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.7921, allocations: 87.33 kB / 0.9584 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7921, allocations: 22.03 kB / 0.9584 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.7921, allocations: 0.7188 kB / 0.9584 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.7921, allocations: 321.8 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.7922, allocations: 23.08 kB / 0.9588 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.7923, allocations: 71.62 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.276e-05/0.7924, allocations: 30.34 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7924, allocations: 0.9375 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002128/0.7926, allocations: 126.2 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7927, allocations: 5.062 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7927, allocations: 2.344 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.7927, allocations: 10.09 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.7928, allocations: 10.47 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7928, allocations: 2.281 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.7929, allocations: 16.89 kB / 0.959 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.7929, allocations: 3.906 kB / 0.959 GB, free: 3.773 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 ($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 6.863e-05/0.7929, allocations: 124.3 kB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.793, allocations: 7.125 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.793, allocations: 9.625 kB / 0.9592 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.793, allocations: 9.484 kB / 0.9592 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.793, allocations: 7.922 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.793, allocations: 0 / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.7934, allocations: 395 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7934, allocations: 0 / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.7935, allocations: 3.531 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7935, allocations: 5.609 kB / 0.9596 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.7935, allocations: 5.484 kB / 0.9596 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7935, allocations: 0 / 0.9596 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7935, allocations: 4 kB / 0.9596 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.7937, allocations: 216.8 kB / 0.9598 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.7938, allocations: 86.42 kB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.7938, allocations: 5.328 kB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.7939, allocations: 13.02 kB / 0.9599 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.794, allocations: 5.656 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.794, allocations: 7.047 kB / 0.9599 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.794, allocations: 96.52 kB / 0.96 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.794, allocations: 0 / 0.96 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000307/0.7943, allocations: 36.88 kB / 0.96 GB, free: 2.848 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 (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.0003123/0.7947, allocations: 172.9 kB / 0.9602 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.7949, allocations: 74.64 kB / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7949, allocations: 0 / 0.9602 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.795, allocations: 43.66 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.7953, allocations: 12.11 kB / 0.9603 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.7956, allocations: 207.9 kB / 0.9605 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.7958, allocations: 0.6991 MB / 0.9612 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.7958, allocations: 2.938 kB / 0.9612 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.7958, allocations: 14.17 kB / 0.9612 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7958, allocations: 0 / 0.9612 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of Templates: time 0.003779/0.7996, allocations: 1.38 MB / 0.9625 GB, free: 1.055 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