Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.004606/0.004606, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001327/0.001327, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.863/2.863, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2666, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002551/0.2692, allocations: 1.499 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.2704, allocations: 0.7284 MB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.2705, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.2705, allocations: 7.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.2706, allocations: 11.86 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2711, allocations: 123.6 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2712, allocations: 83.69 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.2713, allocations: 11.95 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.828e-05/0.2714, allocations: 31.91 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.2714, allocations: 39.83 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.2715, allocations: 12 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.2717, allocations: 99.84 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.2717, allocations: 15.92 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.2718, allocations: 27.86 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.272, allocations: 143.5 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.272, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.272, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.272, allocations: 0 / 1.223 GB, free: 11.49 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.0006131/0.2726, allocations: 428.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2727, allocations: 8.031 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.2727, allocations: 34.75 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.2727, allocations: 4.891 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2729, allocations: 188.2 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2729, allocations: 4.375 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2729, allocations: 4.375 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.2731, allocations: 73.78 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2731, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2732, allocations: 3.938 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2732, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.2733, allocations: 35.97 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.2739, allocations: 316.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.274, allocations: 50.55 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.2741, allocations: 40.97 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.2742, allocations: 3.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.2743, allocations: 75.44 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2744, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004002/0.2748, allocations: 141.5 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2748, allocations: 59.41 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2749, allocations: 121.8 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.275, allocations: 33.7 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.275, allocations: 84.14 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.275, allocations: 19.89 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.2751, allocations: 25.72 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2752, allocations: 322.8 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.2753, allocations: 27.98 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2754, allocations: 50.55 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2756, allocations: 70.48 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2756, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002595/0.2759, allocations: 113.9 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2759, allocations: 8 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2759, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2759, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.276, allocations: 19.86 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2761, allocations: 4.078 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.2761, allocations: 11.92 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2762, allocations: 11.98 kB / 1.225 GB, free: 8.875 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 9.548e-05/0.2763, allocations: 121.8 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.2763, allocations: 7.953 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.2763, allocations: 8.375 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2763, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2763, allocations: 0 / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2763, allocations: 3.984 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.2768, allocations: 382.4 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2768, allocations: 7.984 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.2769, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2769, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2769, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2769, allocations: 3.938 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2769, allocations: 0 / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.2772, allocations: 211.4 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.2773, allocations: 85.06 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.2773, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.2774, allocations: 11.92 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.2775, allocations: 8 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2775, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.2775, allocations: 99.2 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2775, allocations: 0 / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002946/0.2778, allocations: 43.86 kB / 1.226 GB, free: 7.789 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.000841/0.2787, allocations: 0.8156 MB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2789, allocations: 71.97 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.279, allocations: 0 / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2791, allocations: 35.92 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2793, allocations: 15.92 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.281, allocations: 1.496 MB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2813, allocations: 0.6885 MB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.2814, allocations: 4 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.2814, allocations: 23.42 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of SimCode: time 2.054e-06/0.2814, allocations: 3.938 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3043, allocations: 2.639 MB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.032, allocations: 4.438 kB / 1.232 GB, free: 2.012 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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