Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001548/0.001548, 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.00184/0.00184, allocations: 196.5 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.428/2.428, allocations: 390.3 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 71.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6793/0.6808, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002636/0.6835, allocations: 1.49 MB / 0.9512 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.6846, allocations: 0.7282 MB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.6847, allocations: 1.188 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.6847, allocations: 3.938 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-05/0.6848, allocations: 14.48 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.6853, allocations: 121 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.6854, allocations: 69.05 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6855, allocations: 17.11 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.6856, allocations: 33.48 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.6857, allocations: 38.39 kB / 0.9522 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.6857, allocations: 5.438 kB / 0.9522 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.6859, allocations: 92.97 kB / 0.9523 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.6859, allocations: 10.58 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.686, allocations: 36.83 kB / 0.9523 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.6862, allocations: 140 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6862, allocations: 0 / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6862, allocations: 4 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6862, allocations: 1.344 kB / 0.9524 GB, free: 7.121 MB / 0.7169 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.000523/0.6867, allocations: 449 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.6868, allocations: 9.469 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.6868, allocations: 31.94 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.6869, allocations: 7.672 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.6869, allocations: 173 kB / 0.9531 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.687, allocations: 6.156 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.687, allocations: 4.438 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.6872, allocations: 79.38 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6872, allocations: 1.156 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6872, allocations: 0 / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6872, allocations: 1.344 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.6873, allocations: 39.92 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.6877, allocations: 302 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.6879, allocations: 48.44 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.688, allocations: 30.97 kB / 0.9536 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.688, allocations: 1.344 kB / 0.9536 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.6881, allocations: 77.31 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6882, allocations: 4 kB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.6885, allocations: 139.5 kB / 0.9538 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.6886, allocations: 57.91 kB / 0.9538 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.6886, allocations: 127.9 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.6886, allocations: 27.14 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.6887, allocations: 87.08 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.6887, allocations: 14.69 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.6887, allocations: 34.33 kB / 0.9541 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.6888, allocations: 324.2 kB / 0.9544 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.6889, allocations: 20.39 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.6889, allocations: 62.03 kB / 0.9545 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.6891, allocations: 88.53 kB / 0.9546 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6891, allocations: 0 / 0.9546 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002016/0.6893, allocations: 116.8 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6893, allocations: 6.375 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6893, allocations: 5.219 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6894, allocations: 2.562 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.6894, allocations: 21.58 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6895, allocations: 1.406 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.6895, allocations: 8.812 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.6895, allocations: 3.156 kB / 0.9547 GB, free: 4.871 MB / 0.7169 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.pDown,$PRE.bli.pDown,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 6.126e-05/0.6896, allocations: 129.4 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.6896, allocations: 14.95 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.6897, allocations: 9.625 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6897, allocations: 5.031 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6897, allocations: 1.25 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6897, allocations: 0 / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.69, allocations: 381.6 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6901, allocations: 4 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.6901, allocations: 7.859 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6901, allocations: 1.156 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.6901, allocations: 3.938 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.6901, allocations: 9.219 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6901, allocations: 0 / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.6904, allocations: 200.8 kB / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.6904, allocations: 90.27 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.6905, allocations: 2.062 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.6905, allocations: 10.09 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.6906, allocations: 6.391 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.6906, allocations: 2.312 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.6907, allocations: 93.42 kB / 0.9557 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6907, allocations: 0 / 0.9557 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003064/0.691, allocations: 40.08 kB / 0.9557 GB, free: 3.953 MB / 0.7169 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.pDown,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.0005852/0.6916, allocations: 0.8006 MB / 0.9565 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.6918, allocations: 75.98 kB / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6918, allocations: 1.062 kB / 0.9566 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.6919, allocations: 35.52 kB / 0.9566 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.6922, allocations: 22.91 kB / 0.9566 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.6934, allocations: 1.504 MB / 0.9581 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.6935, allocations: 0.6885 MB / 0.9588 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.6935, allocations: 3 kB / 0.9588 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.6935, allocations: 23.89 kB / 0.9588 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6935, allocations: 4 kB / 0.9588 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.7104, allocations: 2.579 MB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/8.116, allocations: 14.78 kB / 0.9613 GB, free: 15.62 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_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_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.TIn in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! " Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TIn.y,bli.blindState,bli.pDown,TIn.amplitude,TIn.f