Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.001653/0.001653, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 195.9 kB / 16.53 MB, free: 6.684 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6103, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002716/0.6131, allocations: 1.485 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.6145, allocations: 0.744 MB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.6146, allocations: 0 / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.6146, allocations: 7.875 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.6147, allocations: 15.84 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.6153, allocations: 123.6 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.6154, allocations: 75.77 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.6155, allocations: 8.188 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.6156, allocations: 35.95 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.6157, allocations: 35.78 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.6157, allocations: 8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.6159, allocations: 95.84 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.181e-05/0.616, allocations: 23.92 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.616, allocations: 31.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.6163, allocations: 141.9 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6163, allocations: 7.922 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6163, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.6163, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 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.0006311/0.617, allocations: 450.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.617, allocations: 8.031 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.6171, allocations: 46.67 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.6171, allocations: 12.84 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6172, allocations: 176.1 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.6173, allocations: 4.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.6173, allocations: 4.375 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.6175, allocations: 77.58 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6175, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6175, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6175, allocations: 3.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.6177, allocations: 47.91 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.6182, allocations: 304.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.6183, allocations: 50.55 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.6184, allocations: 28.97 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.6184, allocations: 8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.6187, allocations: 79.31 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.6187, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004276/0.6191, allocations: 145.8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6192, allocations: 55.39 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.6193, allocations: 125.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.6193, allocations: 33.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.6194, allocations: 88.12 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.6194, allocations: 27.75 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.6194, allocations: 29.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6196, allocations: 326.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.6197, allocations: 19.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.6198, allocations: 65.08 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.6199, allocations: 89.06 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.62, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002221/0.6202, allocations: 113.4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.6202, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6202, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6202, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.6203, allocations: 20.14 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6203, allocations: 7.938 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.6204, allocations: 4 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.6204, allocations: 7.938 kB / 1.023 GB, free: 12.96 MB / 0.7794 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.399e-05/0.6205, allocations: 117.8 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.6206, allocations: 11.84 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.6206, allocations: 12.36 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.6206, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6206, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6206, allocations: 4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.6212, allocations: 390.3 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6212, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.6213, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6213, allocations: 3.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6213, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6213, allocations: 7.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6213, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.6216, allocations: 215.4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.6217, allocations: 92.89 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.6217, allocations: 3.984 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.6218, allocations: 11.94 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6218, allocations: 3.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.6218, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.6219, allocations: 99.27 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6219, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003042/0.6223, allocations: 36 kB / 1.024 GB, free: 11.86 MB / 0.7794 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.0007673/0.623, allocations: 0.8141 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.6233, allocations: 67.91 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6233, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.6234, allocations: 43.95 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6237, allocations: 10.59 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.6253, allocations: 1.52 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.6255, allocations: 0.6935 MB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.6256, allocations: 4 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.6256, allocations: 27.36 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.6256, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.6434, allocations: 2.688 MB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/8.221, allocations: 10.83 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_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