Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_9_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.007462/0.007462, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001664/0.001664, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.229/2.229, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 67.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8708, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002606/0.8734, allocations: 1.509 MB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.8748, allocations: 0.7503 MB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.8749, allocations: 1.062 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.8749, allocations: 4.5 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.875, allocations: 11.52 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.8758, allocations: 131.5 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.876, allocations: 89.31 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.8761, allocations: 16.12 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.8762, allocations: 42.27 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.709e-05/0.8764, allocations: 47.08 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.8764, allocations: 7.75 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.8767, allocations: 96.17 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.8768, allocations: 20.73 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.8769, allocations: 46.45 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.8773, allocations: 157.8 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8773, allocations: 1.062 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8773, allocations: 0 / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8774, allocations: 0 / 1.09 GB, free: 3.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008534/0.8782, allocations: 464.4 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.8783, allocations: 10.22 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.8784, allocations: 37.53 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.8785, allocations: 9.609 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.8786, allocations: 181.6 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.8787, allocations: 9.344 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.8787, allocations: 9.125 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.8791, allocations: 84.89 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8791, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.8791, allocations: 5.859 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.8791, allocations: 5.094 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.8794, allocations: 41.42 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.8801, allocations: 327.5 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.8804, allocations: 64.84 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.8806, allocations: 42.36 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.8806, allocations: 5.422 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.881, allocations: 99.73 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.881, allocations: 0 / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0007498/0.8818, allocations: 188.7 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.8819, allocations: 55.64 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.882, allocations: 125.5 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.882, allocations: 32.62 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.8821, allocations: 92.66 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.8821, allocations: 28.52 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.8822, allocations: 32.83 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.8823, allocations: 324.4 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.8824, allocations: 24.3 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.8826, allocations: 73.05 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.8829, allocations: 115.2 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.8829, allocations: 1.125 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004195/0.8833, allocations: 133.8 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.8834, allocations: 5.656 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8834, allocations: 1.75 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.8834, allocations: 3.375 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.8836, allocations: 22.2 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8836, allocations: 3.234 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.8837, allocations: 14.95 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.8838, allocations: 4.75 kB / 1.093 GB, free: 1.215 MB / 0.8575 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.0001088/0.8839, allocations: 135.5 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.884, allocations: 7.844 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.884, allocations: 11.84 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.884, allocations: 0.9375 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.884, allocations: 0.9688 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.884, allocations: 0.5625 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008033/0.8849, allocations: 434.4 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8849, allocations: 0 / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.8849, allocations: 9.391 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.885, allocations: 0 / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.885, allocations: 11.2 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.885, allocations: 1.703 kB / 1.093 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.885, allocations: 3.938 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.8855, allocations: 252.9 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.8856, allocations: 84.44 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.8856, allocations: 2.203 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.8858, allocations: 9.031 kB / 1.094 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.8859, allocations: 9.703 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.8859, allocations: 4.547 kB / 1.094 GB, free: 424 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.886, allocations: 94.02 kB / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.886, allocations: 0 / 1.094 GB, free: 344 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000639/0.8867, allocations: 53.67 kB / 1.094 GB, free: 324 kB / 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: 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.001327/0.888, allocations: 0.8481 MB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.8885, allocations: 92.66 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8885, allocations: 0.7188 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.8888, allocations: 48.83 kB / 1.095 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.8893, allocations: 18.69 kB / 1.095 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.892, allocations: 1.603 MB / 1.096 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.8924, allocations: 0.6902 MB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.865e-05/0.8925, allocations: 9.797 kB / 1.097 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.8926, allocations: 22.97 kB / 1.097 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.8926, allocations: 0 / 1.097 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.9144, allocations: 2.979 MB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/8.487, allocations: 13.25 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_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