Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.005108/0.005108, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001227/0.001227, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.562/2.562, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.83 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8495, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.004832/0.8544, allocations: 1.521 MB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.857, allocations: 0.7362 MB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.8571, allocations: 3.938 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.053e-05/0.8572, allocations: 7.938 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.8573, allocations: 15.86 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.8583, allocations: 127.5 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.8586, allocations: 91.75 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.8587, allocations: 8 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.859, allocations: 55.78 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.8591, allocations: 43.81 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.8591, allocations: 8 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.8595, allocations: 95.91 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.8595, allocations: 19.98 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.8597, allocations: 35.8 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.8602, allocations: 163.2 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8602, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8602, allocations: 3.938 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8602, allocations: 0 / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009823/0.8612, allocations: 470.3 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.8613, allocations: 8.625 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.8614, allocations: 34.75 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.8614, allocations: 8.891 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.8616, allocations: 181.8 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.8617, allocations: 12.31 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.8618, allocations: 4.375 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.8622, allocations: 93.75 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.8622, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.8623, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8623, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.8625, allocations: 43.91 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.8634, allocations: 320.7 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.8637, allocations: 74.53 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.8639, allocations: 40.84 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.8639, allocations: 0 / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.8643, allocations: 99.38 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.8644, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0008644/0.8652, allocations: 185.5 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.8653, allocations: 63.39 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.8655, allocations: 121.8 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.8656, allocations: 37.69 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.8657, allocations: 88.38 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.8657, allocations: 19.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.8658, allocations: 37.7 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.866, allocations: 326.8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.8661, allocations: 27.98 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.8663, allocations: 77.92 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.8667, allocations: 109.9 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.8667, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004476/0.8671, allocations: 134 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8672, allocations: 4 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.8672, allocations: 7.984 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.8672, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.8674, allocations: 19.88 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.8674, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.8676, allocations: 11.98 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.8676, allocations: 4 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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 0.0001694/0.8678, allocations: 137.7 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.8678, allocations: 7.953 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.8679, allocations: 8.359 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8679, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8679, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8679, allocations: 0 / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/0.8689, allocations: 442.5 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.869, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.869, allocations: 8 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8691, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.8691, allocations: 3.984 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8691, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8691, allocations: 7.938 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.8698, allocations: 247.4 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.8699, allocations: 85.06 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.87, allocations: 4 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.8702, allocations: 7.984 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.8702, allocations: 12.03 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.8703, allocations: 7.969 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001402/0.8704, allocations: 96.52 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8705, allocations: 0 / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006201/0.8711, allocations: 43.88 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0015/0.8726, allocations: 0.8531 MB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.8731, allocations: 92.08 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.8731, allocations: 4 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.8733, allocations: 47.91 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.8739, allocations: 25.03 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.877, allocations: 1.592 MB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.8775, allocations: 0.6924 MB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.879e-05/0.8776, allocations: 7.984 kB / 1.176 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.8777, allocations: 19.44 kB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/0.8777, allocations: 0 / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.9041, allocations: 3.001 MB / 1.179 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.63, allocations: 15.11 kB / 1.179 GB, free: 6.402 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_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_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude