Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.004944/0.004944, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001423/0.001423, allocations: 196 kB / 16.68 MB, free: 5.977 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.602/2.602, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2506, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002249/0.2529, allocations: 1.495 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2539, allocations: 0.7323 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.254, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.254, allocations: 3.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.2541, allocations: 11.88 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.2545, allocations: 119.6 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2546, allocations: 79.77 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.2547, allocations: 11.95 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.2548, allocations: 43.83 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.2548, allocations: 39.84 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2549, allocations: 4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.255, allocations: 99.84 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.2551, allocations: 19.91 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.2551, allocations: 31.86 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2553, allocations: 135.5 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.2553, allocations: 4 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2553, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2554, allocations: 4 kB / 1.223 GB, free: 11.48 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.0005405/0.2559, allocations: 416.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2559, allocations: 12.03 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.256, allocations: 34.75 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.256, allocations: 8.891 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2561, allocations: 180.2 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.2562, allocations: 8.375 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2562, allocations: 4.375 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.2563, allocations: 81.69 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2564, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2564, allocations: 3.938 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2564, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.2565, allocations: 35.97 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.257, allocations: 316.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2572, allocations: 50.48 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.2573, allocations: 32.97 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2573, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.2574, allocations: 79.38 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.2575, allocations: 0 / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003546/0.2578, allocations: 145.6 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.2579, allocations: 51.41 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.258, allocations: 125.8 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.258, allocations: 25.7 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.258, allocations: 92.14 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.2581, allocations: 11.91 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.2581, allocations: 33.7 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2582, allocations: 322.8 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.2583, allocations: 23.98 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.2584, allocations: 50.55 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2586, allocations: 74.5 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2586, allocations: 0 / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002256/0.2588, allocations: 113.5 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2588, allocations: 4 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2588, allocations: 4 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2589, allocations: 0 / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.2589, allocations: 23.98 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.259, allocations: 0 / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.259, allocations: 7.938 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.259, allocations: 7.984 kB / 1.225 GB, free: 8.887 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.473e-05/0.2591, allocations: 125.5 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.2591, allocations: 7.953 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.2592, allocations: 8.375 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2592, allocations: 4 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2592, allocations: 4 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2592, allocations: 0 / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.2596, allocations: 386.4 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2596, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.2597, allocations: 7.984 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2597, allocations: 4 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2597, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2597, allocations: 11.88 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2597, allocations: 0 / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.26, allocations: 204 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.26, allocations: 85.06 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.2601, allocations: 4 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.2602, allocations: 11.92 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.2602, allocations: 0 / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2602, allocations: 7.938 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.2603, allocations: 95.92 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2603, allocations: 0 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002583/0.2605, allocations: 43.86 kB / 1.226 GB, free: 7.793 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.0007316/0.2613, allocations: 0.8095 MB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.2615, allocations: 75.88 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2615, allocations: 0 / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.2616, allocations: 31.98 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.2618, allocations: 23.8 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.001439/0.2633, allocations: 1.493 MB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2636, allocations: 0.6885 MB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.2636, allocations: 8 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.2636, allocations: 23.42 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2636, allocations: 0 / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.824/2.087, allocations: 2.645 MB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/13.84, allocations: 17.58 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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