Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001464/0.001464, allocations: 103.8 kB / 16.37 MB, free: 6.441 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.001624/0.001624, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 62.19 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3051, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002529/0.3076, allocations: 1.499 MB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3089, allocations: 0.7415 MB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.309, allocations: 3.938 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.309, allocations: 7.875 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.3091, allocations: 11.86 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.3096, allocations: 119.6 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.3097, allocations: 79.81 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.3098, allocations: 8.188 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.3099, allocations: 35.8 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.31, allocations: 39.88 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.31, allocations: 4 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3102, allocations: 99.84 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3102, allocations: 23.86 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.3103, allocations: 35.8 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3105, allocations: 131.6 kB / 1.022 GB, free: 7.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3105, allocations: 4 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3105, allocations: 3.984 kB / 1.022 GB, free: 7.031 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3105, allocations: 0 / 1.022 GB, free: 7.031 MB / 0.795 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.0005769/0.3111, allocations: 445.1 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3111, allocations: 8.922 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.3112, allocations: 12.83 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3113, allocations: 176.8 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.3113, allocations: 8.375 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.3114, allocations: 8.312 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3116, allocations: 73.77 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3116, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3116, allocations: 4 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3116, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3117, allocations: 39.97 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.3122, allocations: 300.7 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3124, allocations: 58.5 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.3125, allocations: 36.95 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3125, allocations: 0 / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3127, allocations: 83.44 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3127, allocations: 3.938 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.000401/0.3131, allocations: 149.5 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3131, allocations: 51.41 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.3133, allocations: 130.6 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3133, allocations: 25.7 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.3133, allocations: 92.14 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.3133, allocations: 19.73 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3134, allocations: 25.72 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3135, allocations: 326.8 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.3136, allocations: 19.98 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.779e-05/0.3137, allocations: 61.12 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3138, allocations: 89.08 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3139, allocations: 3.938 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002147/0.3141, allocations: 117.4 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3141, allocations: 8 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3141, allocations: 4 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3141, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.3142, allocations: 15.98 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3142, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.3143, allocations: 15.97 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3143, allocations: 7.984 kB / 1.024 GB, free: 4.391 MB / 0.795 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 9.195e-05/0.3144, allocations: 133.8 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.3144, allocations: 7.906 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3145, allocations: 8.375 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3145, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3145, allocations: 0 / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3145, allocations: 7.984 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.3149, allocations: 386.4 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.315, allocations: 7.938 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.315, allocations: 7.938 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.315, allocations: 0 / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.315, allocations: 3.984 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.315, allocations: 7.938 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.315, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3153, allocations: 215.4 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.3154, allocations: 81.11 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3154, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3155, allocations: 11.92 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3156, allocations: 8 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3156, allocations: 3.984 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.3156, allocations: 98.64 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3156, allocations: 0 / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002937/0.3159, allocations: 36 kB / 1.025 GB, free: 3.289 MB / 0.795 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.0003272/0.3163, allocations: 170.7 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3165, allocations: 67.89 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3165, allocations: 0 / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3166, allocations: 32.3 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3169, allocations: 21.3 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.3173, allocations: 192.9 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3176, allocations: 0.6885 MB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.3176, allocations: 8.078 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.3177, allocations: 11.44 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3177, allocations: 4 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of Templates: time 0.00394/0.3216, allocations: 1.485 MB / 1.027 GB, free: 0.582 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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