Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_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.004962/0.004962, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001212/0.001212, allocations: 195 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 61.59 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002672/0.2891, allocations: 1.501 MB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2904, allocations: 0.7336 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.2905, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.2905, allocations: 11.88 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.2906, allocations: 15.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.2912, allocations: 119.6 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2914, allocations: 71.83 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.2915, allocations: 12.17 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.2916, allocations: 47.77 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.2916, allocations: 31.91 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2917, allocations: 7.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.2919, allocations: 99.84 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.2919, allocations: 15.98 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.2919, allocations: 35.78 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2922, allocations: 139.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2922, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2922, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.2922, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 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.0006396/0.2929, allocations: 458.4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2929, allocations: 8.031 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.293, allocations: 30.75 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.293, allocations: 8.891 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2931, allocations: 180.2 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2932, allocations: 8.375 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2932, allocations: 4.375 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2934, allocations: 77.59 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2934, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2934, allocations: 3.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2934, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2936, allocations: 31.98 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.2941, allocations: 312.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2942, allocations: 50.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.2943, allocations: 32.97 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2943, allocations: 3.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.2945, allocations: 83.36 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2946, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004277/0.295, allocations: 149.5 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.295, allocations: 55.41 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.2951, allocations: 133.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2952, allocations: 29.7 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.2952, allocations: 92.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2953, allocations: 15.91 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.2953, allocations: 29.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2954, allocations: 322.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.2955, allocations: 23.98 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.2956, allocations: 61.14 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2958, allocations: 89 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2958, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.296, allocations: 113.5 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.296, allocations: 9.406 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.296, allocations: 4.156 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2961, allocations: 8 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.2961, allocations: 11.98 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2962, allocations: 4 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.2962, allocations: 4 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2962, allocations: 7.938 kB / 1.093 GB, free: 12.5 MB / 0.8575 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.323e-05/0.2963, allocations: 129.7 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.2964, allocations: 7.953 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.2964, allocations: 8.375 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2964, allocations: 7.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2964, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2964, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.2969, allocations: 390.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2969, allocations: 4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.297, allocations: 3.984 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.297, allocations: 4 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.297, allocations: 8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.297, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.297, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.2973, allocations: 211.8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.2974, allocations: 85.05 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2974, allocations: 8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.2975, allocations: 3.938 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2975, allocations: 11.98 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-06/0.2976, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.2976, allocations: 93.64 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2976, allocations: 3.938 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003111/0.2979, allocations: 43.92 kB / 1.094 GB, free: 11.39 MB / 0.8575 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.0008105/0.2988, allocations: 0.8109 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.299, allocations: 75.88 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.299, allocations: 320 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.2991, allocations: 47.92 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2994, allocations: 15.92 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.301, allocations: 1.514 MB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3012, allocations: 0.6885 MB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.3013, allocations: 8 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.3013, allocations: 19.42 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3013, allocations: 0 / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.3202, allocations: 2.742 MB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.929, allocations: 17.28 kB / 1.099 GB, free: 5.469 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_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