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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00149/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00172/0.00172, allocations: 195.9 kB / 16.14 MB, free: 6.695 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5445, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002396/0.5469, allocations: 1.554 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.548, allocations: 0.7518 MB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.5481, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.5481, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.5482, allocations: 11.86 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.5486, allocations: 107.8 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.5487, allocations: 67.83 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.5488, allocations: 8.188 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.5489, allocations: 35.84 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.5489, allocations: 31.89 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.549, allocations: 4 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.5491, allocations: 91.8 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.5492, allocations: 19.97 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.5492, allocations: 35.8 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.5494, allocations: 133.9 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5494, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5494, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.5495, allocations: 0 / 1.02 GB, free: 15.94 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.000536/0.55, allocations: 442.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.55, allocations: 12.03 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.5501, allocations: 42.73 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.5501, allocations: 8.844 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5502, allocations: 173.4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.5503, allocations: 8.359 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.5503, allocations: 12.36 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.5505, allocations: 65.59 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5505, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5505, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5505, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.5507, allocations: 47.91 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.5511, allocations: 296.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.5513, allocations: 54.55 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.5514, allocations: 32.97 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.5514, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.5516, allocations: 79.31 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.5516, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004154/0.552, allocations: 145.6 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5521, allocations: 59.33 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.5522, allocations: 139.5 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.5522, allocations: 25.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.5523, allocations: 96.12 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.5523, allocations: 15.75 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.5523, allocations: 29.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5524, allocations: 322.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.5525, allocations: 19.98 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.5526, allocations: 65.08 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.5528, allocations: 93.06 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5528, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.553, allocations: 117.4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.553, allocations: 8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5531, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5531, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.5532, allocations: 20.08 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5532, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.5532, allocations: 12 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.5533, allocations: 7.938 kB / 1.022 GB, free: 13.24 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.319e-05/0.5534, allocations: 113.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.5534, allocations: 7.906 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.5534, allocations: 12.36 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.5534, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5534, allocations: 8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5534, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.5539, allocations: 390.6 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5539, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.554, allocations: 7.984 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.554, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.554, allocations: 7.938 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.554, allocations: 3.938 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.554, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.5543, allocations: 223.4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.5543, allocations: 81.05 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5544, allocations: 7.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.5545, allocations: 7.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.5545, allocations: 11.98 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.5545, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.018e-05/0.5546, allocations: 99.27 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5546, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002862/0.5549, allocations: 39.98 kB / 1.023 GB, free: 12.14 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.0007129/0.5556, allocations: 0.8129 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.5558, allocations: 67.91 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5558, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5559, allocations: 35.97 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.5562, allocations: 12.95 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5577, allocations: 1.534 MB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.5579, allocations: 0.6926 MB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.5579, allocations: 7.938 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.558, allocations: 19.42 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.558, allocations: 0 / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3059/0.8638, allocations: 2.51 MB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003666/0.8642, allocations: 276.5 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.813, allocations: 0 / 1.029 GB, free: 6.082 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