Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.007108/0.007115, allocations: 97.62 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.001878/0.001879, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.921/2.921, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.11 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2986, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002585/0.3013, allocations: 1.491 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3026, allocations: 0.7322 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.3026, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3027, allocations: 3.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.3027, allocations: 15.86 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.3033, allocations: 127.5 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3034, allocations: 71.83 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.3035, allocations: 15.95 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.3036, allocations: 35.91 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.3037, allocations: 39.83 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3037, allocations: 7.938 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.3039, allocations: 95.91 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.304, allocations: 19.92 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.304, allocations: 35.84 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.3043, allocations: 143.5 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3043, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3043, allocations: 0 / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3043, allocations: 4 kB / 1.223 GB, free: 11.51 MB / 0.9825 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.0006597/0.305, allocations: 416.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.305, allocations: 12.03 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.3051, allocations: 34.75 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3051, allocations: 8.891 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3053, allocations: 176.3 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3053, allocations: 8.375 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3053, allocations: 384 / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3055, allocations: 73.78 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3055, allocations: 7.875 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3055, allocations: 0 / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.3055, allocations: 4 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3057, allocations: 35.97 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.3063, allocations: 320.7 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3064, allocations: 46.5 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.3065, allocations: 36.91 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3066, allocations: 3.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.3067, allocations: 79.39 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3068, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004038/0.3072, allocations: 141.6 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3072, allocations: 51.48 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3073, allocations: 126.1 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3074, allocations: 29.64 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.3074, allocations: 100.1 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3075, allocations: 11.91 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.3075, allocations: 33.7 kB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3077, allocations: 322.8 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.3078, allocations: 23.98 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.3079, allocations: 46.61 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3081, allocations: 78.48 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3081, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002476/0.3083, allocations: 113.5 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3083, allocations: 4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3084, allocations: 4 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3084, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.3085, allocations: 15.98 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3085, allocations: 0 / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.3086, allocations: 7.938 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3086, allocations: 8 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.0001289/0.3087, allocations: 125.8 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.3087, allocations: 11.89 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.3088, allocations: 8.375 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3088, allocations: 8 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3088, allocations: 0 / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3088, allocations: 0 / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.3093, allocations: 378.4 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3093, allocations: 0 / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.3093, allocations: 7.984 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3094, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3094, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.3094, allocations: 11.88 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3094, allocations: 8 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.3097, allocations: 203.5 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.3098, allocations: 85.06 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3098, allocations: 0 / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.3099, allocations: 7.938 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3099, allocations: 11.92 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3099, allocations: 4 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.31, allocations: 95.27 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002907/0.3103, allocations: 43.86 kB / 1.226 GB, free: 7.816 MB / 0.9825 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0008757/0.3112, allocations: 0.8062 MB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.3114, allocations: 75.89 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3115, allocations: 0 / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3116, allocations: 31.98 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3118, allocations: 16.05 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3135, allocations: 1.503 MB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3138, allocations: 0.6885 MB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.661e-05/0.3139, allocations: 11.92 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.3139, allocations: 19.44 kB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3139, allocations: 0 / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3377, allocations: 2.639 MB / 1.232 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.159, allocations: 14.31 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset