Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_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.001438/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001613/0.001613, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 71.89 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4901, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002276/0.4924, allocations: 1.552 MB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.4934, allocations: 0.7246 MB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.4934, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.4935, allocations: 3.938 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.4935, allocations: 7.922 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.4939, allocations: 119.7 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.494, allocations: 67.84 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.4941, allocations: 11.98 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.4942, allocations: 39.78 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.4942, allocations: 39.84 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.4943, allocations: 8 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.4944, allocations: 91.89 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.4945, allocations: 23.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.4945, allocations: 35.86 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.4947, allocations: 141.9 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4947, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4947, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.4947, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 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.0004961/0.4952, allocations: 420.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.4953, allocations: 8.031 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.4953, allocations: 38.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.4953, allocations: 12.84 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.4954, allocations: 168.3 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4954, allocations: 4.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.4955, allocations: 8.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.4956, allocations: 73.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4956, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4957, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4957, allocations: 3.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4958, allocations: 35.97 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.4963, allocations: 324.6 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4964, allocations: 46.56 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.4965, allocations: 44.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.4965, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.4967, allocations: 75.38 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.4967, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003325/0.497, allocations: 137.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.4971, allocations: 59.41 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.4971, allocations: 125.8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4972, allocations: 29.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.4972, allocations: 84.14 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.4972, allocations: 19.8 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.4973, allocations: 29.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.4974, allocations: 322.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.4974, allocations: 19.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.4975, allocations: 54.55 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4977, allocations: 70.48 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4977, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002038/0.4979, allocations: 109.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.4979, allocations: 16.05 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.4979, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.4979, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.498, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.498, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.4981, allocations: 19.83 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4981, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 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 7.737e-05/0.4982, allocations: 122.2 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.4982, allocations: 11.94 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.4983, allocations: 12.36 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.4983, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.4983, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4983, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.4987, allocations: 378.4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4987, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.4987, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.4987, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.4987, allocations: 7.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4988, allocations: 7.875 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4988, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.499, allocations: 204 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.499, allocations: 81.02 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4991, allocations: 3.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.4991, allocations: 15.94 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.4992, allocations: 7.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.4992, allocations: 3.984 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.4993, allocations: 95.27 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.4993, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002558/0.4995, allocations: 36 kB / 1.023 GB, free: 12.13 MB / 0.7794 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.0006355/0.5002, allocations: 0.8148 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.5004, allocations: 71.89 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5004, allocations: 4.125 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.5005, allocations: 39.97 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.5007, allocations: 11.88 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.502, allocations: 1.485 MB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.5022, allocations: 0.6846 MB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.5023, allocations: 7.984 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.5023, allocations: 23.38 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5023, allocations: 4 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7382/1.24, allocations: 2.472 MB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/1.241, allocations: 275.4 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/3.499, allocations: 0 / 1.029 GB, free: 6.238 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed