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.001713/0.001713, 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.001984/0.001985, allocations: 196 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.263/2.263, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4858, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002561/0.4884, allocations: 1.489 MB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.4897, allocations: 0.7401 MB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.4898, allocations: 7.875 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.4898, allocations: 7.922 kB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.4899, allocations: 11.88 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.4904, allocations: 119.6 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.4905, allocations: 79.78 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.4906, allocations: 12.17 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/0.4907, allocations: 35.91 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.4908, allocations: 31.84 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.4908, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.491, allocations: 99.84 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.491, allocations: 19.91 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.4911, allocations: 43.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.4913, allocations: 141.9 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4913, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4913, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4913, 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.0005824/0.4919, allocations: 450.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4919, allocations: 15.98 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.492, allocations: 34.75 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.492, allocations: 8.844 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.4921, allocations: 180.2 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.4922, allocations: 8.359 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4922, allocations: 4.375 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4924, allocations: 69.59 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.4924, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4924, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.4924, allocations: 3.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.4925, allocations: 39.95 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.493, allocations: 312.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.4931, allocations: 46.56 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.4932, allocations: 32.97 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.4933, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.4934, allocations: 83.38 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4935, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003932/0.4939, allocations: 153.6 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4939, allocations: 51.41 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.494, allocations: 133.5 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.494, allocations: 29.69 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.4941, allocations: 100.1 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4941, allocations: 11.75 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.4941, allocations: 29.7 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.4942, allocations: 326.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.4943, allocations: 19.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.4944, allocations: 61.14 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4946, allocations: 93 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4946, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002116/0.4948, allocations: 113.4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4948, allocations: 8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4948, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4949, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.4949, allocations: 11.98 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.495, allocations: 0 / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.495, allocations: 12.16 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.495, allocations: 7.938 kB / 1.023 GB, free: 12.97 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 8.307e-05/0.4951, allocations: 129.5 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.4951, allocations: 11.89 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.4952, allocations: 8.375 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4952, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4952, allocations: 4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4952, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.4956, allocations: 394.3 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.4956, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.4957, allocations: 11.98 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4957, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4957, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4957, allocations: 3.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4957, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.496, allocations: 215.4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.4961, allocations: 88.94 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4961, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.4962, allocations: 7.938 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.4962, allocations: 11.92 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4962, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.4963, allocations: 99.27 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4963, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002843/0.4966, allocations: 43.98 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.0007407/0.4973, allocations: 0.8051 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4976, allocations: 75.83 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4976, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.4977, allocations: 31.98 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.0002519/0.4979, allocations: 22.75 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4994, allocations: 1.514 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.4997, allocations: 0.6885 MB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.4997, allocations: 8 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.4998, allocations: 23.42 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.4998, allocations: 0 / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5232/1.023, allocations: 2.69 MB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/9.489, allocations: 12.3 kB / 1.029 GB, free: 5.988 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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) "" 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