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.001627/0.001627, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 195.8 kB / 16.63 MB, free: 6.609 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.447/1.447, allocations: 222.9 MB / 240.3 MB, free: 4.355 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.378/2.378, allocations: 390.3 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.69 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2879, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002513/0.2905, allocations: 1.516 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2918, allocations: 0.7335 MB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.2918, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.2919, allocations: 3.938 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.2919, allocations: 7.875 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.2925, allocations: 127.6 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2926, allocations: 71.78 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.2927, allocations: 12.17 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.2928, allocations: 35.84 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.2929, allocations: 35.84 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.2929, allocations: 11.88 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.2931, allocations: 99.91 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.2932, allocations: 19.95 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.2932, allocations: 39.8 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.2935, allocations: 135.6 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2935, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2935, allocations: 0 / 1.091 GB, free: 14.59 MB / 0.8575 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.000606/0.2941, allocations: 438.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2942, allocations: 12.03 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2942, allocations: 12.84 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2944, allocations: 176.2 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2944, allocations: 384 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/0.2945, allocations: 8.375 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.2947, allocations: 77.77 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2947, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2947, allocations: 7.938 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2947, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.2949, allocations: 47.89 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.2954, allocations: 300.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2956, allocations: 50.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.2957, allocations: 32.97 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2957, allocations: 3.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.2959, allocations: 79.31 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.2959, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004242/0.2963, allocations: 145.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.2964, allocations: 51.41 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.2965, allocations: 125.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2965, allocations: 33.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.2966, allocations: 88.14 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.2966, allocations: 19.8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.2966, allocations: 21.72 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.2967, allocations: 330.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.2968, allocations: 19.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.988e-05/0.2969, allocations: 61.14 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2971, allocations: 89.06 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2971, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002127/0.2973, allocations: 117.4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2973, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2973, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2974, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.2975, allocations: 23.86 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2975, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.2975, allocations: 16.06 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2976, allocations: 11.98 kB / 1.093 GB, free: 11.95 MB / 0.8575 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 8.959e-05/0.2977, allocations: 133.6 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.2977, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2977, allocations: 12.38 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2977, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2977, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2977, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.2982, allocations: 402.3 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2982, allocations: 0 / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.2983, allocations: 4 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2983, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.2983, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.2983, allocations: 7.922 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2983, allocations: 4 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.2986, allocations: 215.7 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.2986, allocations: 81.11 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2987, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.2988, allocations: 7.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2988, allocations: 11.98 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2988, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.2989, allocations: 98.39 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2989, allocations: 0 / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002999/0.2992, allocations: 47.89 kB / 1.094 GB, free: 10.85 MB / 0.8575 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.00032/0.2995, allocations: 157.1 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.2998, allocations: 76.23 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2998, allocations: 4 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2999, allocations: 43.84 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3002, allocations: 18.48 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.3006, allocations: 184.5 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3008, allocations: 0.6924 MB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.3009, allocations: 7.75 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.3009, allocations: 15.42 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3009, allocations: 3.938 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of Templates: time 0.003985/0.3049, allocations: 1.486 MB / 1.097 GB, free: 8.133 MB / 0.8575 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