Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_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.004021/0.004021, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001064/0.001064, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 62.53 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2739, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002671/0.2767, allocations: 1.505 MB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2779, allocations: 0.7336 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.278, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.2781, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.2781, allocations: 7.875 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.2787, allocations: 127.6 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2789, allocations: 71.83 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.279, allocations: 15.97 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2791, allocations: 47.84 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.2792, allocations: 35.83 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2792, allocations: 8 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.2794, allocations: 91.91 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2794, allocations: 15.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.2795, allocations: 27.86 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.2797, allocations: 146.4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2797, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2798, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.2798, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 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.0006113/0.2804, allocations: 425.8 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2804, allocations: 8.031 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.2805, allocations: 34.75 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.2805, allocations: 8.844 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2806, allocations: 180.1 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2807, allocations: 8.375 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2807, allocations: 4.375 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.2809, allocations: 77.72 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2809, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2809, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2809, allocations: 3.984 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.2811, allocations: 35.97 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.2816, allocations: 308.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2818, allocations: 62.48 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.2819, allocations: 32.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.2819, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.2821, allocations: 79.38 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.2821, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003816/0.2825, allocations: 141.5 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.2826, allocations: 59.34 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.2826, allocations: 125.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2827, allocations: 33.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2827, allocations: 88.05 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2828, allocations: 15.81 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.2828, allocations: 25.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/0.2829, allocations: 330.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.283, allocations: 23.98 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.2831, allocations: 50.55 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2833, allocations: 70.5 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2833, allocations: 7.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.2835, allocations: 113.6 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2835, allocations: 6.031 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2836, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2836, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.2837, allocations: 15.98 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2837, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.2838, allocations: 7.906 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2838, allocations: 12.05 kB / 1.093 GB, free: 12.52 MB / 0.8575 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 8.602e-05/0.2839, allocations: 129.7 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.2839, allocations: 7.906 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.2839, allocations: 4.375 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2839, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2839, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2839, allocations: 4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.2844, allocations: 382.5 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2844, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.2844, allocations: 15.92 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2845, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2845, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2845, allocations: 3.938 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2845, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.2848, allocations: 219.9 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.2848, allocations: 81.02 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2848, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.2849, allocations: 7.922 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.285, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.285, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.285, allocations: 95.27 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.252e-06/0.2851, allocations: 3.938 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002986/0.2854, allocations: 43.92 kB / 1.093 GB, free: 11.43 MB / 0.8575 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.0007619/0.2861, allocations: 0.7948 MB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2864, allocations: 79.88 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2864, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.2865, allocations: 31.98 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.2868, allocations: 11.92 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2883, allocations: 1.484 MB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2885, allocations: 0.6885 MB / 1.096 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.2886, allocations: 7.75 kB / 1.096 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.2886, allocations: 23.42 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2886, allocations: 4 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.3051, allocations: 2.641 MB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.702, allocations: 12.61 kB / 1.099 GB, free: 5.652 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_9_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