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.001318/0.001319, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001297/0.001297, allocations: 191 kB / 17.29 MB, free: 5.516 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.407/2.407, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 66.83 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2789, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002552/0.2815, allocations: 1.501 MB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2827, allocations: 0.7554 MB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.2828, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.2828, allocations: 7.922 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.2829, allocations: 11.86 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.2834, allocations: 119.6 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2835, allocations: 75.77 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.2836, allocations: 12.19 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.2837, allocations: 39.84 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.2837, allocations: 35.83 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2838, allocations: 8 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2839, allocations: 95.84 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.284, allocations: 15.98 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.284, allocations: 31.8 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2842, allocations: 147.6 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2842, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2843, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2843, allocations: 3.938 kB / 1.029 GB, free: 15.2 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.0005323/0.2848, allocations: 446.6 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2848, allocations: 8.031 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.2849, allocations: 8.844 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.285, allocations: 179.8 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.285, allocations: 4.375 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.285, allocations: 12.36 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.2852, allocations: 73.78 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2853, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2853, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2853, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.2854, allocations: 43.84 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.2859, allocations: 304.7 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2861, allocations: 54.55 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.2862, allocations: 32.97 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2862, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.2864, allocations: 91.36 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/0.2864, allocations: 7.984 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003952/0.2868, allocations: 141.5 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2869, allocations: 59.39 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.287, allocations: 121.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.287, allocations: 25.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.287, allocations: 96.12 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.287, allocations: 15.75 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.2871, allocations: 33.7 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.2872, allocations: 322.8 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.2873, allocations: 19.98 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.2874, allocations: 65.08 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2875, allocations: 89.06 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2876, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002121/0.2878, allocations: 117.4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2878, allocations: 8 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2878, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2878, allocations: 4 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.2879, allocations: 15.92 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2879, allocations: 4 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.288, allocations: 7.906 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.288, allocations: 8 kB / 1.032 GB, free: 12.56 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 8.23e-05/0.2881, allocations: 125.9 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.2881, allocations: 4 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.2882, allocations: 20.3 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2882, allocations: 4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2882, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2882, allocations: 3.938 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.2886, allocations: 390.3 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2886, allocations: 4 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.2887, allocations: 7.984 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2887, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2887, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2887, allocations: 3.938 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2887, allocations: 0 / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.289, allocations: 219.3 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.2891, allocations: 81.11 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.2891, allocations: 7.984 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.2892, allocations: 3.938 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2892, allocations: 7.984 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2893, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.2893, allocations: 95.27 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2893, allocations: 0 / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002868/0.2896, allocations: 39.91 kB / 1.033 GB, free: 11.46 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.000285/0.2899, allocations: 170.7 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.2901, allocations: 71.84 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2901, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2903, allocations: 40.38 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.2905, allocations: 12.31 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.2909, allocations: 188.5 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2911, allocations: 0.6885 MB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.2912, allocations: 4 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.2912, allocations: 11.44 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2912, allocations: 4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.003845/0.2951, allocations: 1.501 MB / 1.035 GB, free: 8.77 MB / 0.8106 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 -s gbode -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) "" 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