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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001093/0.001093, allocations: 195.1 kB / 16.14 MB, free: 6.695 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.646/2.646, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.02 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.004481/0.282, allocations: 1.572 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.284, allocations: 0.7479 MB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.2841, allocations: 7.938 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.2842, allocations: 0 / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.2843, allocations: 7.875 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.285, allocations: 99.77 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.2852, allocations: 75.81 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2853, allocations: 8.188 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2854, allocations: 35.86 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.2855, allocations: 35.81 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.2855, allocations: 7.938 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2857, allocations: 83.94 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.2858, allocations: 19.89 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.2858, allocations: 35.8 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.2861, allocations: 139.8 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2861, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2861, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2861, allocations: 4 kB / 1.055 GB, free: 5.355 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.0005789/0.2867, allocations: 442.7 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2868, allocations: 12.03 kB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.2868, allocations: 38.73 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2869, allocations: 8.844 kB / 1.055 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.287, allocations: 172.2 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.287, allocations: 4.375 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.287, allocations: 4.375 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2872, allocations: 81.56 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2873, allocations: 0 / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.2873, allocations: 4 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2873, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.2875, allocations: 39.91 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.2881, allocations: 304.7 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2882, allocations: 50.55 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.2883, allocations: 32.97 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2883, allocations: 0 / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.2886, allocations: 83.31 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 3.406e-06/0.2886, allocations: 4 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004195/0.289, allocations: 149.5 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2891, allocations: 51.41 kB / 1.056 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.2892, allocations: 129.8 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2892, allocations: 25.7 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.2893, allocations: 100.1 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2893, allocations: 7.812 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2893, allocations: 33.7 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.2894, allocations: 326.7 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.2895, allocations: 19.98 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.2896, allocations: 61.12 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2898, allocations: 89.08 kB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2898, allocations: 4 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002186/0.29, allocations: 117.5 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.29, allocations: 11.98 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.29, allocations: 0 / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2901, allocations: 4 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.2901, allocations: 11.94 kB / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2902, allocations: 0 / 1.057 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.2902, allocations: 19.83 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2903, allocations: 11.94 kB / 1.057 GB, free: 2.668 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.754e-05/0.2903, allocations: 121.9 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.2904, allocations: 4 kB / 1.057 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.2904, allocations: 12.41 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2904, allocations: 3.984 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2904, allocations: 4 kB / 1.057 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2904, allocations: 0 / 1.057 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.2909, allocations: 390.3 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2909, allocations: 0 / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.291, allocations: 8 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.291, allocations: 3.938 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.291, allocations: 7.984 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.291, allocations: 3.938 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.291, allocations: 0 / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2913, allocations: 219.7 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2914, allocations: 77.11 kB / 1.058 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2914, allocations: 4 kB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.2915, allocations: 11.92 kB / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.2915, allocations: 4 kB / 1.058 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2916, allocations: 3.984 kB / 1.058 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.2916, allocations: 102.3 kB / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2916, allocations: 0 / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003083/0.2919, allocations: 39.91 kB / 1.058 GB, free: 1.57 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.0007664/0.2927, allocations: 0.8125 MB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2929, allocations: 67.97 kB / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2929, allocations: 0 / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2931, allocations: 39.97 kB / 1.059 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.2933, allocations: 7.938 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.2949, allocations: 1.527 MB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.2953, allocations: 0.7003 MB / 1.061 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.2953, allocations: 0 / 1.061 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.2954, allocations: 27.42 kB / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.2954, allocations: 0 / 1.061 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2777/0.5731, allocations: 2.516 MB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.5734, allocations: 277 kB / 1.064 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.363, allocations: 3.938 kB / 1.064 GB, free: 11.54 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > 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,occ.startTime,occ.startValue,occ.y,time