Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_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.007281/0.007281, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002051/0.002051, allocations: 193.7 kB / 16.67 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.453/1.453, 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 12.0.0-master/package.mo): time 2.811/2.811, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.282, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002556/0.2846, allocations: 1.491 MB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2859, allocations: 0.7182 MB / 1.244 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.2859, allocations: 7.938 kB / 1.244 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.286, allocations: 7.938 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.286, allocations: 7.875 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.2865, allocations: 115.6 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2867, allocations: 71.78 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.2868, allocations: 15.91 kB / 1.244 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.2869, allocations: 39.91 kB / 1.244 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.2869, allocations: 35.84 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.287, allocations: 4 kB / 1.244 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2872, allocations: 95.84 kB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.2872, allocations: 15.92 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.2872, allocations: 35.84 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.2875, allocations: 135.8 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2875, allocations: 0 / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2875, allocations: 0 / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2875, allocations: 0 / 1.244 GB, free: 6.512 MB / 0.9669 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.0006323/0.2881, allocations: 458.3 kB / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2882, allocations: 8.031 kB / 1.245 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.2882, allocations: 38.75 kB / 1.245 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2883, allocations: 8.891 kB / 1.245 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2884, allocations: 180.2 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2885, allocations: 384 / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.2885, allocations: 4.375 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.2887, allocations: 77.77 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2887, allocations: 4 kB / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2887, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2887, allocations: 0 / 1.245 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.2889, allocations: 35.97 kB / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.2894, allocations: 296.7 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2895, allocations: 58.56 kB / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2896, allocations: 32.97 kB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2897, allocations: 4.062 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.2899, allocations: 75.38 kB / 1.245 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2899, allocations: 0 / 1.245 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004297/0.2903, allocations: 137.5 kB / 1.246 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2904, allocations: 63.39 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2905, allocations: 122.1 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2905, allocations: 25.7 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.2906, allocations: 100.1 kB / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.2906, allocations: 19.83 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.2907, allocations: 29.7 kB / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.2908, allocations: 318.8 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.2909, allocations: 23.98 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.291, allocations: 69.17 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.2912, allocations: 89.02 kB / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2912, allocations: 4 kB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.2915, allocations: 109.5 kB / 1.246 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2915, allocations: 8 kB / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2915, allocations: 8.141 kB / 1.246 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2915, allocations: 4 kB / 1.246 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.2916, allocations: 8 kB / 1.246 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2916, allocations: 4 kB / 1.246 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.2917, allocations: 11.92 kB / 1.246 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2917, allocations: 4 kB / 1.246 GB, free: 3.84 MB / 0.9669 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 0.0001083/0.2918, allocations: 128.3 kB / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.2919, allocations: 7.953 kB / 1.247 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2919, allocations: 8.375 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2919, allocations: 0 / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2919, allocations: 7.984 kB / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2919, allocations: 0 / 1.247 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.2924, allocations: 382.3 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2925, allocations: 4 kB / 1.247 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.2925, allocations: 3.938 kB / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2925, allocations: 4 kB / 1.247 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2925, allocations: 3.984 kB / 1.247 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2925, allocations: 7.938 kB / 1.247 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2925, allocations: 0 / 1.247 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.2929, allocations: 203.9 kB / 1.247 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.2929, allocations: 85.06 kB / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.293, allocations: 7.984 kB / 1.247 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.2931, allocations: 7.938 kB / 1.247 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.2931, allocations: 12.02 kB / 1.247 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2931, allocations: 4 kB / 1.247 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.2932, allocations: 95.2 kB / 1.247 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2932, allocations: 0 / 1.247 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002979/0.2935, allocations: 35.94 kB / 1.247 GB, free: 2.75 MB / 0.9669 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.0008743/0.2944, allocations: 0.798 MB / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.2946, allocations: 71.89 kB / 1.248 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2946, allocations: 0 / 1.248 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.2948, allocations: 40.23 kB / 1.248 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.295, allocations: 11.88 kB / 1.248 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.2968, allocations: 1.51 MB / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2971, allocations: 0.6885 MB / 1.25 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.2972, allocations: 8 kB / 1.25 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.2972, allocations: 19.42 kB / 1.251 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2972, allocations: 0 / 1.251 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.3204, allocations: 2.63 MB / 1.253 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.132, allocations: 8.469 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_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_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.TIn from file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv failed! Error: Could not read variable bli.occ in file Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.csv. Warning: Get data of variable bli.occ from file Buildings_latest_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