Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.006327/0.006327, allocations: 97.11 kB / 15.73 MB, free: 5.988 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.00167/0.00167, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.643/2.643, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2662, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002351/0.2686, allocations: 1.495 MB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2697, allocations: 0.7284 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.2697, allocations: 3.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.2698, allocations: 3.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.2698, allocations: 15.86 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.2703, allocations: 127.5 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2704, allocations: 75.83 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.2705, allocations: 11.94 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.2706, allocations: 35.91 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.2707, allocations: 43.83 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.2707, allocations: 4 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2709, allocations: 95.84 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.2709, allocations: 23.92 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.2709, allocations: 31.86 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2712, allocations: 135.5 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2712, allocations: 3.938 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2712, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2712, 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.0005732/0.2718, allocations: 420.7 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2718, allocations: 12.03 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.2718, allocations: 34.75 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.2719, allocations: 16.88 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.272, allocations: 172.3 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.272, allocations: 384 / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2721, allocations: 8.375 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2722, allocations: 73.72 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2722, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2723, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2723, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.2724, allocations: 43.91 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.2729, allocations: 316.7 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.2731, allocations: 46.55 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.2732, allocations: 32.97 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.2732, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.2734, allocations: 91.36 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2734, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003629/0.2737, allocations: 129.6 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2738, allocations: 59.41 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.2739, allocations: 125.8 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2739, allocations: 29.7 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.274, allocations: 88.14 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.274, allocations: 15.89 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.274, allocations: 25.72 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2742, allocations: 326.8 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.2743, allocations: 27.92 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.2744, allocations: 50.55 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.2745, allocations: 70.5 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2745, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002271/0.2748, allocations: 117.5 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2748, allocations: 4 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2748, allocations: 8 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2748, allocations: 7.938 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.2749, allocations: 11.98 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2749, allocations: 0 / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.275, allocations: 15.92 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.275, allocations: 8 kB / 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 8.894e-05/0.2751, allocations: 117.8 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2751, allocations: 7.953 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.2752, allocations: 12.38 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2752, allocations: 4 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2752, allocations: 0 / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2752, allocations: 3.984 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.2756, allocations: 382.4 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2756, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.2757, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2757, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2757, allocations: 8 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2757, allocations: 3.938 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2757, allocations: 7.984 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.276, allocations: 203.4 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.276, allocations: 85.06 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2761, allocations: 0 / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.2762, allocations: 15.92 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2762, allocations: 4 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2762, allocations: 7.984 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.2763, allocations: 91.88 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2763, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002607/0.2765, allocations: 43.86 kB / 1.226 GB, free: 7.781 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.0007699/0.2773, allocations: 0.8083 MB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.2775, allocations: 75.89 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2776, allocations: 0 / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.164e-05/0.2777, allocations: 36.11 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.000226/0.2779, allocations: 19.31 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.2794, allocations: 1.492 MB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.2797, allocations: 0.6924 MB / 1.229 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.2797, allocations: 4 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2798, allocations: 23.42 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2798, allocations: 0 / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.189/2.469, allocations: 2.649 MB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/13.96, allocations: 7.797 kB / 1.232 GB, free: 2 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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