Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.004271/0.004271, allocations: 97.84 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.001254/0.001254, allocations: 197.1 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.874/2.874, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2696, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002684/0.2723, allocations: 1.499 MB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2736, allocations: 0.7323 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2737, allocations: 4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.2737, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.2738, allocations: 11.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.2743, allocations: 127.6 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2745, allocations: 71.83 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.2745, allocations: 15.94 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.2746, allocations: 31.91 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.2747, allocations: 43.83 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2748, allocations: 11.94 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.275, allocations: 91.91 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.275, allocations: 19.92 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.2751, allocations: 31.86 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.2753, allocations: 143.5 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2753, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2753, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2753, allocations: 0 / 1.223 GB, free: 11.47 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.0006364/0.276, allocations: 420.7 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.276, allocations: 8.031 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.2761, allocations: 38.75 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2761, allocations: 8.891 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2762, allocations: 176.3 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2763, allocations: 4.375 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.2763, allocations: 8.375 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2765, allocations: 65.78 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2765, allocations: 11.81 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2765, allocations: 8 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2765, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2767, allocations: 39.97 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.2773, allocations: 312.7 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.2775, allocations: 50.55 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.2776, allocations: 32.91 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2776, allocations: 8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.2778, allocations: 79.44 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/0.2778, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004151/0.2782, allocations: 137.6 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2783, allocations: 51.41 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2784, allocations: 133.7 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2784, allocations: 29.64 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2785, allocations: 92.14 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.2785, allocations: 15.89 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.2786, allocations: 25.72 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2787, allocations: 322.8 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.2788, allocations: 23.98 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2789, allocations: 54.55 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.2791, allocations: 78.78 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2791, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002605/0.2794, allocations: 109.5 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2794, allocations: 12.06 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2794, allocations: 0 / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2794, allocations: 3.938 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.2795, allocations: 11.98 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2796, allocations: 4 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2796, allocations: 15.92 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.2796, allocations: 0 / 1.225 GB, free: 8.871 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.000104/0.2798, allocations: 125.5 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.2798, allocations: 11.89 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2798, allocations: 12.38 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2798, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2798, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2798, allocations: 3.984 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.2803, allocations: 378.4 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2804, allocations: 3.984 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.2804, allocations: 4 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2804, allocations: 4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2804, allocations: 4 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2804, allocations: 7.875 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2804, allocations: 3.938 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.2808, allocations: 203.5 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.2808, allocations: 85.05 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2808, allocations: 4 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.281, allocations: 19.92 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.281, allocations: 4 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.281, allocations: 0 / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.2811, allocations: 95.27 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2811, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003053/0.2814, allocations: 43.86 kB / 1.226 GB, free: 7.773 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.0008522/0.2823, allocations: 0.8073 MB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.2825, allocations: 72.19 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2825, allocations: 128 / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2826, allocations: 35.98 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2829, allocations: 23.8 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2846, allocations: 1.496 MB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.2849, allocations: 0.6906 MB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.285, allocations: 4 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.285, allocations: 23.42 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.2851, allocations: 0 / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3087, allocations: 2.636 MB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.055, allocations: 7.25 kB / 1.232 GB, free: 1.984 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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