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.00151/0.00151, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001599/0.001599, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 61.92 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2765, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002755/0.2793, allocations: 1.489 MB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2806, allocations: 0.7401 MB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.2807, allocations: 7.938 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.2807, allocations: 3.938 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.2807, allocations: 11.86 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.2813, allocations: 119.6 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2814, allocations: 75.7 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.2815, allocations: 20.17 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.2816, allocations: 31.92 kB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.2816, allocations: 39.83 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.2817, allocations: 4 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.2819, allocations: 95.84 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.2819, allocations: 27.84 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.282, allocations: 27.86 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.2822, allocations: 139.6 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2822, allocations: 3.938 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2822, allocations: 0 / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2822, allocations: 4 kB / 0.9539 GB, free: 5.203 MB / 0.7325 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.0005586/0.2828, allocations: 450.6 kB / 0.9543 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2828, allocations: 8.031 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.2829, allocations: 8.844 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.283, allocations: 184.1 kB / 0.9545 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.283, allocations: 8.359 kB / 0.9545 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.283, allocations: 4.375 kB / 0.9545 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2832, allocations: 73.77 kB / 0.9546 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2832, allocations: 4 kB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2833, allocations: 4 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2833, allocations: 0 / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2834, allocations: 35.97 kB / 0.9546 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.2839, allocations: 304.6 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.284, allocations: 54.56 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.2841, allocations: 32.97 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2842, allocations: 3.984 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.2843, allocations: 83.44 kB / 0.9551 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.2844, allocations: 0 / 0.9551 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004121/0.2848, allocations: 145.6 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2848, allocations: 51.41 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2849, allocations: 133.7 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.285, allocations: 25.7 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.285, allocations: 88.14 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.285, allocations: 19.73 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2851, allocations: 25.72 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2852, allocations: 326.8 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.2853, allocations: 27.92 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.2854, allocations: 61.08 kB / 0.9559 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.2856, allocations: 97 kB / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2856, allocations: 0 / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002191/0.2858, allocations: 113.4 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2858, allocations: 8.156 kB / 0.9562 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2858, allocations: 4 kB / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2859, allocations: 0 / 0.9562 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.286, allocations: 15.98 kB / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.286, allocations: 0 / 0.9562 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.286, allocations: 7.938 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2861, allocations: 7.984 kB / 0.9562 GB, free: 2.562 MB / 0.7325 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.464e-05/0.2862, allocations: 137.2 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.2862, allocations: 7.906 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.2862, allocations: 12.38 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2862, allocations: 0 / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2862, allocations: 0 / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2862, allocations: 4 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.2867, allocations: 394.6 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2867, allocations: 0 / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.2868, allocations: 4 kB / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2868, allocations: 0 / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2868, allocations: 8 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2868, allocations: 8.016 kB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2868, allocations: 7.969 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.2871, allocations: 211.5 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.2872, allocations: 85.05 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.2872, allocations: 3.938 kB / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2873, allocations: 7.938 kB / 0.957 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2874, allocations: 15.92 kB / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-06/0.2874, allocations: 0 / 0.9571 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.2874, allocations: 103 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2874, allocations: 0 / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003103/0.2878, allocations: 39.98 kB / 0.9572 GB, free: 1.438 MB / 0.7325 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.0003135/0.2881, allocations: 152 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.2883, allocations: 79.89 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2884, allocations: 0 / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2885, allocations: 31.98 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.2887, allocations: 15.92 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.2891, allocations: 192.7 kB / 0.9576 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2894, allocations: 0.6937 MB / 0.9583 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.2894, allocations: 4 kB / 0.9583 GB, free: 228 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.2895, allocations: 11.42 kB / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2895, allocations: 0 / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of Templates: time 0.004219/0.2937, allocations: 1.502 MB / 0.9598 GB, free: 14.73 MB / 0.7481 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 -s cvode -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/jenkins1/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