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.001563/0.001563, allocations: 108 kB / 15.61 MB, free: 152 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.002065/0.002065, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.317/2.317, allocations: 390.3 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.5824, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002181/0.5846, allocations: 1.492 MB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.5856, allocations: 0.7415 MB / 0.9519 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.5857, allocations: 3.938 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.5857, allocations: 3.938 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.5858, allocations: 14.45 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.5862, allocations: 125.2 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.5863, allocations: 74.75 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.5864, allocations: 23.16 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.5865, allocations: 33.16 kB / 0.9522 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.5866, allocations: 34.12 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.5866, allocations: 5.938 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.5867, allocations: 94 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.5868, allocations: 19.3 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.5868, allocations: 35 kB / 0.9523 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.587, allocations: 141.2 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.587, allocations: 4 kB / 0.9525 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.587, allocations: 0 / 0.9525 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.587, allocations: 1.312 kB / 0.9525 GB, free: 7.051 MB / 0.7169 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.0004392/0.5875, allocations: 448.5 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.5875, allocations: 9.594 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.5876, allocations: 36.66 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.5876, allocations: 13.11 kB / 0.953 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.673e-05/0.5877, allocations: 176.9 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5877, allocations: 5.812 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.5877, allocations: 8.031 kB / 0.9531 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.5879, allocations: 72.55 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5879, allocations: 1.188 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5879, allocations: 0 / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5879, allocations: 0.9062 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.5881, allocations: 36.91 kB / 0.9533 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.5885, allocations: 310.4 kB / 0.9535 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5886, allocations: 44.97 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.5887, allocations: 35.77 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.5887, allocations: 9.438 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.5889, allocations: 78.28 kB / 0.9537 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5889, allocations: 0 / 0.9537 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003941/0.5893, allocations: 149.8 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.5893, allocations: 54.03 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.5894, allocations: 131.3 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.5894, allocations: 25.7 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.5895, allocations: 91.3 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.5895, allocations: 26.42 kB / 0.9542 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.5895, allocations: 26.47 kB / 0.9542 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.5896, allocations: 325.2 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.5897, allocations: 19.67 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.5897, allocations: 70.06 kB / 0.9546 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5899, allocations: 92.7 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5899, allocations: 0 / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002063/0.5901, allocations: 116.8 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5901, allocations: 6.125 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5902, allocations: 1.156 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5902, allocations: 6.516 kB / 0.9548 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.5903, allocations: 9.25 kB / 0.9548 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5903, allocations: 6.219 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.5903, allocations: 8.516 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5904, allocations: 15.81 kB / 0.9548 GB, free: 4.758 MB / 0.7169 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 6.342e-05/0.5904, allocations: 117.2 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.5904, allocations: 7.344 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.5905, allocations: 10.59 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5905, allocations: 1.062 kB / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5905, allocations: 0 / 0.955 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5905, allocations: 5.047 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.5909, allocations: 388.8 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5909, allocations: 4 kB / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.5909, allocations: 3.562 kB / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5909, allocations: 0 / 0.9554 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.591, allocations: 5.359 kB / 0.9554 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.591, allocations: 5.094 kB / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.591, allocations: 0 / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.5912, allocations: 218.3 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.5913, allocations: 91.45 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5913, allocations: 1.312 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.5914, allocations: 10.2 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.5914, allocations: 2.5 kB / 0.9557 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.5915, allocations: 6.609 kB / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.5915, allocations: 109.6 kB / 0.9558 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5915, allocations: 0 / 0.9558 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003075/0.5918, allocations: 36.62 kB / 0.9558 GB, free: 3.84 MB / 0.7169 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.0005811/0.5924, allocations: 0.799 MB / 0.9566 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.5926, allocations: 86.28 kB / 0.9567 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5926, allocations: 0 / 0.9567 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.5928, allocations: 36.62 kB / 0.9567 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.593, allocations: 13.97 kB / 0.9567 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.5942, allocations: 1.517 MB / 0.9582 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.5943, allocations: 0.689 MB / 0.9589 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.5944, allocations: 11.53 kB / 0.9589 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.5944, allocations: 23.02 kB / 0.9589 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.5944, allocations: 0 / 0.9589 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.6128, allocations: 2.699 MB / 0.9615 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.205, allocations: 9.094 kB / 0.9616 GB, free: 15.48 MB / 0.7325 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