Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007591/0.007591, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001163/0.001163, allocations: 198 kB / 16.79 MB, free: 5.809 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.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 62.78 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2932, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002888/0.2961, allocations: 1.548 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2975, allocations: 0.7594 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.2976, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.2977, allocations: 3.938 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2978, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.2983, allocations: 99.77 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2985, allocations: 83.69 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.2986, allocations: 12.19 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.2987, allocations: 27.92 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.2988, allocations: 39.81 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2988, allocations: 4 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.299, allocations: 91.84 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.299, allocations: 7.984 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.2991, allocations: 35.8 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2993, allocations: 104 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2993, allocations: 4 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.21e-07/0.2993, allocations: 4 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2993, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 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.0006191/0.2999, allocations: 434.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3, allocations: 15.97 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3, allocations: 12.84 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3002, allocations: 172.2 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3002, allocations: 4.312 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3002, allocations: 4.375 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3004, allocations: 81.77 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3004, allocations: 3.984 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3005, allocations: 0 / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3005, allocations: 7.938 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3006, allocations: 35.97 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.3012, allocations: 308.7 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3013, allocations: 54.48 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3014, allocations: 32.97 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3015, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.3017, allocations: 83.31 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3017, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004746/0.3022, allocations: 141.5 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3022, allocations: 51.48 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3023, allocations: 125.8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3024, allocations: 29.7 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.3024, allocations: 96.11 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.3025, allocations: 15.75 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3025, allocations: 37.64 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3026, allocations: 322.8 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.3027, allocations: 19.98 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.3028, allocations: 61.12 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.303, allocations: 89.08 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.303, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002367/0.3032, allocations: 117.4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3033, allocations: 7.984 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3033, allocations: 4 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3033, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.132e-05/0.3034, allocations: 19.88 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3034, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.3035, allocations: 7.984 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3035, allocations: 4 kB / 1.058 GB, free: 2.82 MB / 0.8106 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 0.0001023/0.3036, allocations: 135.6 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.3036, allocations: 7.906 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3037, allocations: 8.359 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3037, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3037, allocations: 4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3037, allocations: 0 / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.3042, allocations: 394.3 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3042, allocations: 4 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.3042, allocations: 8 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3042, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3042, allocations: 3.984 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3043, allocations: 7.938 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3043, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3046, allocations: 207.7 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.3046, allocations: 85.11 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3047, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3048, allocations: 11.92 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3048, allocations: 7.984 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3048, allocations: 7.969 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.3049, allocations: 101.5 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003055/0.3052, allocations: 32 kB / 1.059 GB, free: 1.715 MB / 0.8106 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.0003174/0.3055, allocations: 162.6 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3058, allocations: 71.89 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3058, allocations: 3.938 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3059, allocations: 40.23 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3062, allocations: 11.98 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3066, allocations: 235.7 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3069, allocations: 0.6926 MB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3069, allocations: 11.44 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of SimCode: time 2.855e-06/0.307, allocations: 0 / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of Templates: time 0.003315/0.3103, allocations: 1.61 MB / 1.062 GB, free: 14.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches