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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001883/0.001883, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002703/0.002703, allocations: 191 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.401/2.401, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.332/4.332, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 65.33 kB / 0.8987 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5062, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.006243/0.5124, allocations: 1.564 MB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.5142, allocations: 0.7477 MB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.5143, allocations: 4 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.5143, allocations: 7.922 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.5144, allocations: 3.938 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.5151, allocations: 107.8 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.5153, allocations: 71.78 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.5154, allocations: 12.17 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.5155, allocations: 43.84 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.365e-05/0.5156, allocations: 27.91 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.5156, allocations: 8 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.5158, allocations: 95.84 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.5159, allocations: 23.91 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.5159, allocations: 31.8 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.5162, allocations: 143.9 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5162, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5162, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5162, allocations: 0 / 1.055 GB, free: 5.711 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.0006693/0.5169, allocations: 446.7 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5169, allocations: 8.625 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.517, allocations: 34.75 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.517, allocations: 8.844 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5172, allocations: 184.2 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.5172, allocations: 4.375 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.5172, allocations: 4.375 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.5174, allocations: 73.58 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5174, allocations: 4 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5175, allocations: 4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5175, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.5176, allocations: 35.97 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.5181, allocations: 300.7 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.5183, allocations: 62.44 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.5184, allocations: 32.97 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.5184, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.5186, allocations: 75.36 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.5187, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004147/0.5191, allocations: 153.5 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.5191, allocations: 55.41 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.5192, allocations: 129.8 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5193, allocations: 25.7 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.5193, allocations: 96.08 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.5193, allocations: 15.8 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.5194, allocations: 21.72 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5195, allocations: 330.8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.5196, allocations: 19.98 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.5197, allocations: 57.14 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.5199, allocations: 97 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5199, allocations: 0 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/0.5201, allocations: 113.6 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5201, allocations: 8 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.5201, allocations: 4 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5202, allocations: 0 / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.5203, allocations: 15.98 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5203, allocations: 0 / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.5203, allocations: 11.91 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5204, allocations: 7.938 kB / 1.058 GB, free: 3.031 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.0001305/0.5205, allocations: 131.5 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.5205, allocations: 8 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.5206, allocations: 8.375 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5206, allocations: 48 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5206, allocations: 7.984 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.5206, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.5211, allocations: 394.3 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5211, allocations: 0 / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.5212, allocations: 7.984 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5212, allocations: 4 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5212, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5212, allocations: 11.88 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5212, allocations: 400 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.5216, allocations: 215.4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.5216, allocations: 81.11 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.5216, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.5217, allocations: 11.94 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.5218, allocations: 15.92 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5218, allocations: 0 / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.813e-05/0.5219, allocations: 102.3 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5219, allocations: 0 / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003106/0.5222, allocations: 43.89 kB / 1.059 GB, free: 1.914 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.000809/0.523, allocations: 0.7976 MB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.5233, allocations: 71.89 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5233, allocations: 8.25 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5234, allocations: 31.98 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.5237, allocations: 15.92 kB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.5253, allocations: 1.532 MB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5255, allocations: 0.6922 MB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.5256, allocations: 7.984 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.5256, allocations: 19.44 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.5256, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4068/0.9324, allocations: 2.587 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004786/0.933, allocations: 291.2 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.196/5.129, allocations: 3.234 kB / 1.064 GB, free: 11.83 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