Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.006228/0.006228, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001695/0.001695, allocations: 202.8 kB / 16.68 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.637/2.637, allocations: 469.8 MB / 0.7425 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 71.88 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2673, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002259/0.2696, allocations: 1.497 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2706, allocations: 0.7284 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.2707, allocations: 7.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.2707, allocations: 3.938 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.2708, allocations: 11.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.2712, allocations: 127.6 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.2713, allocations: 67.78 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.2714, allocations: 23.94 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.2714, allocations: 31.91 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.2715, allocations: 39.83 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2715, allocations: 8 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.2717, allocations: 95.84 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.2717, allocations: 23.91 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.2718, allocations: 27.86 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.272, allocations: 143.5 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.272, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.02e-07/0.272, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.272, 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.0005238/0.2725, allocations: 428.6 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.2726, allocations: 8.031 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.2726, allocations: 30.75 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.2726, allocations: 8.891 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2728, allocations: 176.2 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2728, allocations: 16.31 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.2728, allocations: 8.359 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.273, allocations: 69.78 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.273, allocations: 3.984 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.273, allocations: 0 / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-06/0.273, allocations: 4 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2731, allocations: 39.95 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.2736, allocations: 324.7 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.2738, allocations: 46.56 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.2738, allocations: 28.97 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2739, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.274, allocations: 75.38 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.274, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003711/0.2744, allocations: 153.6 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.2745, allocations: 51.41 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.2746, allocations: 121.8 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.2746, allocations: 29.7 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.2746, allocations: 92.12 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2747, allocations: 19.91 kB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.2747, allocations: 25.7 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2748, allocations: 322.8 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.2749, allocations: 27.98 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.275, allocations: 42.56 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.2752, allocations: 78.48 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2752, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002266/0.2754, allocations: 117.5 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2754, allocations: 8 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2755, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.2755, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.2755, allocations: 16.05 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2756, allocations: 7.938 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.2756, allocations: 7.938 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.2756, allocations: 0 / 1.225 GB, free: 8.867 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 8.63e-05/0.2757, allocations: 126.3 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.2758, allocations: 7.938 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.2758, allocations: 8.375 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2758, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.2758, allocations: 7.938 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2758, allocations: 0 / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.2762, allocations: 386.4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2763, allocations: 0 / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.2763, allocations: 4 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2763, allocations: 3.984 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2763, allocations: 4 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2763, allocations: 3.938 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2763, allocations: 4 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.2766, allocations: 203.5 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.2767, allocations: 89.05 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2767, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.2768, allocations: 11.88 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.2768, allocations: 11.98 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.2768, allocations: 4 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.2769, allocations: 95.27 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 4 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002587/0.2771, allocations: 43.81 kB / 1.226 GB, free: 7.762 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.0007347/0.2779, allocations: 0.8084 MB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2781, allocations: 71.89 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2781, allocations: 0 / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.2782, allocations: 35.92 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.2784, allocations: 9 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.001458/0.2799, allocations: 1.503 MB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2802, allocations: 0.6885 MB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.2802, allocations: 7.984 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2803, allocations: 19.44 kB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2803, allocations: 0 / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.168/2.448, allocations: 2.648 MB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/15.54, allocations: 14.02 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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