Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.005633/0.005633, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001364/0.001364, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.364/1.364, 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.3/2.3, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.8592, allocations: 140.4 MB / 1.087 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003499/0.8628, allocations: 1.504 MB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.8646, allocations: 0.7426 MB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.8647, allocations: 1.031 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.427e-05/0.8648, allocations: 8.484 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.8649, allocations: 15.94 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.8656, allocations: 130.3 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.8657, allocations: 94.34 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.8659, allocations: 11.73 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.866, allocations: 39.58 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.8661, allocations: 43.69 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.8661, allocations: 11.38 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.8663, allocations: 100.1 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.8664, allocations: 20.47 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.8665, allocations: 46.09 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.8668, allocations: 149.2 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.8668, allocations: 0.6094 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8668, allocations: 1.312 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8668, allocations: 0 / 1.09 GB, free: 3.293 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.0005741/0.8674, allocations: 467.6 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.8674, allocations: 9.219 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.8675, allocations: 38.75 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.8675, allocations: 9.906 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.232e-05/0.8676, allocations: 173.6 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.8676, allocations: 9.297 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.8677, allocations: 5.734 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.8679, allocations: 97.5 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8679, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.868, allocations: 6.125 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.868, allocations: 4 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.8681, allocations: 45.28 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.8686, allocations: 316 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.8688, allocations: 72.59 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.8689, allocations: 50.2 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.869, allocations: 1.406 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.8692, allocations: 92.19 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.8692, allocations: 0 / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005076/0.8697, allocations: 188 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.8698, allocations: 59.77 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.8699, allocations: 130.7 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.8699, allocations: 27.55 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.8699, allocations: 96.55 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.87, allocations: 21.7 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.87, allocations: 31.12 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.8701, allocations: 324.1 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.8702, allocations: 32.41 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.8703, allocations: 72.52 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.8705, allocations: 107 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8705, allocations: 0.9062 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002515/0.8707, allocations: 134 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8708, allocations: 8.562 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8708, allocations: 6.312 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.8708, allocations: 2.422 kB / 1.093 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.8709, allocations: 19.28 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.8709, allocations: 6.547 kB / 1.093 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.871, allocations: 14.17 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.871, allocations: 5.859 kB / 1.093 GB, free: 1.074 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 7.302e-05/0.8711, allocations: 125.1 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.8711, allocations: 12.61 kB / 1.093 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.8711, allocations: 10.91 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8711, allocations: 2 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8711, allocations: 0 / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8712, allocations: 0.6562 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.8717, allocations: 434.2 kB / 1.093 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8717, allocations: 5.828 kB / 1.093 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.8717, allocations: 7.844 kB / 1.093 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8717, allocations: 5.094 kB / 1.093 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.8717, allocations: 4.25 kB / 1.093 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8718, allocations: 0.5156 kB / 1.093 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8718, allocations: 5.031 kB / 1.093 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.8721, allocations: 253 kB / 1.094 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.8721, allocations: 83.38 kB / 1.094 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.8722, allocations: 2.344 kB / 1.094 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.8723, allocations: 12.3 kB / 1.094 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.8723, allocations: 18.31 kB / 1.094 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.8723, allocations: 4.797 kB / 1.094 GB, free: 272 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.798e-05/0.8724, allocations: 93.83 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8724, allocations: 0 / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003726/0.8728, allocations: 41.97 kB / 1.094 GB, free: 16.18 MB / 0.8731 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.0009313/0.8738, allocations: 0.8469 MB / 1.095 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.8741, allocations: 89.09 kB / 1.095 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8741, allocations: 9.406 kB / 1.095 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.8742, allocations: 44.06 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.8745, allocations: 20.05 kB / 1.095 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.8764, allocations: 1.6 MB / 1.096 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.8767, allocations: 0.6907 MB / 1.097 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.8768, allocations: 5.359 kB / 1.097 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.8768, allocations: 25.23 kB / 1.097 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8768, allocations: 0.8125 kB / 1.097 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.8978, allocations: 2.98 MB / 1.1 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.488, allocations: 7.609 kB / 1.1 GB, free: 12.78 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_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_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.solarAltitude in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! " Variables in the reference:time,bli.solarAltitude,bli.occ,bli.pUp,bli.blindState Variables in the result:time,SA.y,bli.blindState,bli.pDown,bli.pUp,SA.amplitude