Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.007853/0.007853, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.00217/0.00217, allocations: 205.1 kB / 16.68 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.88 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2758, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00253/0.2783, allocations: 1.474 MB / 1.243 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2796, allocations: 0.7284 MB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.2796, allocations: 3.938 kB / 1.244 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.2796, allocations: 3.938 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.2797, allocations: 15.86 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2802, allocations: 115.6 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2803, allocations: 75.72 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.2804, allocations: 11.98 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.2805, allocations: 35.91 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.2806, allocations: 39.83 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2806, allocations: 4 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.2808, allocations: 95.84 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.2808, allocations: 11.92 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.2809, allocations: 35.86 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.2811, allocations: 135.6 kB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2811, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2811, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2811, allocations: 0 / 1.244 GB, free: 7.438 MB / 0.9981 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.0005997/0.2817, allocations: 450.4 kB / 1.245 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2818, allocations: 12.02 kB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.2818, allocations: 34.75 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.2819, allocations: 8.891 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.282, allocations: 176.2 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.282, allocations: 12.36 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2821, allocations: 8.359 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2823, allocations: 73.77 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2823, allocations: 0 / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2823, allocations: 4 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2823, allocations: 0 / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.2824, allocations: 35.97 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.2829, allocations: 300.7 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2831, allocations: 50.55 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.2832, allocations: 28.97 kB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2832, allocations: 4 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.2834, allocations: 79.38 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2834, allocations: 0 / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004183/0.2838, allocations: 145.6 kB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2839, allocations: 51.41 kB / 1.246 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.284, allocations: 121.8 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.284, allocations: 29.7 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.2841, allocations: 92.09 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2841, allocations: 23.89 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.2842, allocations: 25.72 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2843, allocations: 318.8 kB / 1.246 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.2844, allocations: 27.98 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2845, allocations: 57.12 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.2847, allocations: 93.02 kB / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.2847, allocations: 3.938 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002499/0.285, allocations: 121.4 kB / 1.246 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.285, allocations: 9.406 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.285, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.285, allocations: 4 kB / 1.246 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.2851, allocations: 15.98 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2851, allocations: 0 / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.2852, allocations: 15.92 kB / 1.246 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2852, allocations: 4.156 kB / 1.246 GB, free: 4.77 MB / 0.9981 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 9.88e-05/0.2853, allocations: 126.2 kB / 1.247 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.2853, allocations: 7.953 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.2854, allocations: 8.375 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2854, allocations: 0 / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2854, allocations: 0 / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2854, allocations: 4 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.2859, allocations: 382.4 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2859, allocations: 3.984 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.2859, allocations: 4 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2859, allocations: 0 / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.286, allocations: 8 kB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.286, allocations: 3.938 kB / 1.247 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.286, allocations: 0 / 1.247 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.2863, allocations: 207.5 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.2864, allocations: 89.05 kB / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2864, allocations: 0 / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.2865, allocations: 11.92 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.2865, allocations: 4 kB / 1.247 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2865, allocations: 11.92 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.2866, allocations: 91.88 kB / 1.247 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2866, allocations: 0 / 1.247 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002994/0.2869, allocations: 47.8 kB / 1.247 GB, free: 3.676 MB / 0.9981 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.0008317/0.2878, allocations: 0.8029 MB / 1.248 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.288, allocations: 67.91 kB / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.288, allocations: 0 / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2881, allocations: 39.91 kB / 1.248 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.2884, allocations: 18.58 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.29, allocations: 1.51 MB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2904, allocations: 0.6885 MB / 1.25 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.2904, allocations: 0 / 1.25 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.2904, allocations: 23.42 kB / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.2905, allocations: 0 / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4814/0.7718, allocations: 2.637 MB / 1.253 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/8.381, allocations: 5.875 kB / 1.253 GB, free: 14.46 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.TOut in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.TOut from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.csv failed! " Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:time,TOut.y,bli.blindState,bli.pDown,TOut.amplitude,TOut.f