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.007482/0.007482, allocations: 97.62 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.002016/0.002016, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.907/2.907, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.003672/0.3248, allocations: 1.503 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3273, allocations: 0.7401 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.3274, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/0.3275, allocations: 7.875 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.3276, allocations: 11.86 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.3284, allocations: 123.6 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3286, allocations: 71.77 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.3287, allocations: 16.19 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3288, allocations: 35.89 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.3289, allocations: 35.84 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.329, allocations: 8 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.3292, allocations: 91.84 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.3293, allocations: 23.91 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.3294, allocations: 35.8 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.3297, allocations: 139.5 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3297, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3297, allocations: 4 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3297, allocations: 0 / 1.223 GB, free: 11.49 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.0006383/0.3303, allocations: 456.2 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3304, allocations: 8.031 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.3304, allocations: 38.73 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3305, allocations: 8.891 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3306, allocations: 176.3 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.3307, allocations: 8.359 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.3307, allocations: 12.38 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3309, allocations: 69.59 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3309, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3309, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3309, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3311, allocations: 51.83 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3316, allocations: 308.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3318, allocations: 42.56 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.3319, allocations: 32.97 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3319, allocations: 8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3321, allocations: 75.31 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3322, allocations: 7.938 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004455/0.3326, allocations: 145.6 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3327, allocations: 59.39 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3328, allocations: 121.8 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3328, allocations: 25.7 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.3329, allocations: 100.1 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3329, allocations: 15.84 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.333, allocations: 33.7 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3332, allocations: 322.8 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.3332, allocations: 23.98 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.3334, allocations: 65.08 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.3336, allocations: 93.06 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3336, allocations: 0 / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002631/0.3338, allocations: 117.5 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3339, allocations: 4 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3339, allocations: 0 / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3339, allocations: 4 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.334, allocations: 15.92 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.334, allocations: 4 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.3341, allocations: 4 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3341, allocations: 11.94 kB / 1.225 GB, free: 8.789 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 9.796e-05/0.3342, allocations: 120.2 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.3342, allocations: 11.94 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.3342, allocations: 12.38 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3343, allocations: 0 / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3343, allocations: 0 / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3343, allocations: 0 / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.3348, allocations: 394.3 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3348, allocations: 3.938 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3349, allocations: 11.98 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3349, allocations: 48 / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3349, allocations: 3.984 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3349, allocations: 3.938 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3349, allocations: 4 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.3353, allocations: 215.4 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3353, allocations: 89.05 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3354, allocations: 7.938 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.3355, allocations: 7.938 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3355, allocations: 3.984 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3355, allocations: 4 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.3356, allocations: 98.89 kB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3356, allocations: 4 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000311/0.3359, allocations: 39.92 kB / 1.226 GB, free: 7.672 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.0008687/0.3368, allocations: 0.8047 MB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.337, allocations: 76.02 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3371, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3372, allocations: 35.98 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3374, allocations: 15.92 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.3392, allocations: 1.525 MB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3395, allocations: 0.6935 MB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.3395, allocations: 4 kB / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.3396, allocations: 23.42 kB / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3396, allocations: 0 / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.3666, allocations: 2.745 MB / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.7, allocations: 12.39 kB / 1.232 GB, free: 1.754 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.H in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.p,H.amplitude,H.f