Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_11_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.004763/0.004763, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001365/0.001365, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002181/0.2419, allocations: 1.499 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2429, allocations: 0.7478 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.2429, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.243, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.243, allocations: 11.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.2435, allocations: 123.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2436, allocations: 75.77 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.2437, allocations: 12.19 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.2438, allocations: 35.86 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.2438, allocations: 35.88 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2438, allocations: 8 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.244, allocations: 95.84 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.244, allocations: 15.92 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.2441, allocations: 35.8 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2443, allocations: 135.6 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2443, allocations: 7.922 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2443, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2443, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 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.0005438/0.2449, allocations: 452.2 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.2449, allocations: 8.031 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.245, allocations: 42.73 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.245, allocations: 12.89 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2451, allocations: 172.3 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2451, allocations: 384 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.2452, allocations: 12.36 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.2453, allocations: 77.58 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2454, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.2454, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2454, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2455, allocations: 47.91 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.2459, allocations: 300.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.2461, allocations: 58.55 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.2462, allocations: 28.97 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2462, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.2464, allocations: 83.19 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2464, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003696/0.2467, allocations: 145.6 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2468, allocations: 59.39 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.2469, allocations: 121.8 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2469, allocations: 29.7 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.247, allocations: 96.08 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.247, allocations: 23.91 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.247, allocations: 25.7 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2472, allocations: 326.8 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.2472, allocations: 27.91 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.2473, allocations: 61.14 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2475, allocations: 93.06 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2475, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/0.2477, allocations: 117.6 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2477, allocations: 4 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2477, allocations: 4 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2477, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.2478, allocations: 15.94 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2478, allocations: 3.984 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.2479, allocations: 8 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2479, allocations: 7.938 kB / 1.225 GB, free: 8.773 MB / 0.9825 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.323e-05/0.248, allocations: 121.1 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.248, allocations: 7.953 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.248, allocations: 16.36 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2481, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2481, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2481, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.2485, allocations: 394.3 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2485, allocations: 0 / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.2486, allocations: 4 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2486, allocations: 7.984 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.2486, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2486, allocations: 7.938 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2486, allocations: 0 / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.2489, allocations: 219.8 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.249, allocations: 89.09 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.249, allocations: 3.984 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.2491, allocations: 11.94 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2491, allocations: 4 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2491, allocations: 7.984 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.2492, allocations: 95.27 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2492, allocations: 3.938 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002518/0.2494, allocations: 35.94 kB / 1.226 GB, free: 7.66 MB / 0.9825 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.0007233/0.2502, allocations: 0.8058 MB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2504, allocations: 72.16 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2504, allocations: 4.062 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.2505, allocations: 35.97 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2507, allocations: 13.44 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2522, allocations: 1.531 MB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.2524, allocations: 0.6924 MB / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.2525, allocations: 4 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.2525, allocations: 31.3 kB / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2525, allocations: 0 / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.038/5.291, allocations: 2.739 MB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/18.16, allocations: 15.05 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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