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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 196 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.579/2.579, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 68.67 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2432, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002512/0.2457, allocations: 1.493 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2469, allocations: 0.7379 MB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.247, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.247, allocations: 7.922 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.2471, allocations: 15.88 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.2476, allocations: 119.6 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2477, allocations: 75.78 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.2478, allocations: 15.98 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.2478, allocations: 31.91 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.2479, allocations: 39.83 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2479, allocations: 8 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.2481, allocations: 99.84 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.2481, allocations: 19.92 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.2482, allocations: 27.86 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2484, allocations: 135.9 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2484, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2484, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2484, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 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.0005638/0.249, allocations: 417 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.249, allocations: 12.03 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.2491, allocations: 34.75 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.2491, allocations: 12.83 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2492, allocations: 180.2 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2493, allocations: 8.375 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2493, allocations: 8.312 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.2495, allocations: 65.78 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2495, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2495, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2495, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.2496, allocations: 43.97 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.2502, allocations: 308.7 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2503, allocations: 54.55 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.2504, allocations: 36.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2504, allocations: 4 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.2506, allocations: 75.44 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2506, allocations: 3.938 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003654/0.251, allocations: 141.5 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.251, allocations: 55.41 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.2511, allocations: 121.8 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.2512, allocations: 29.7 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.2512, allocations: 92.05 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.2513, allocations: 23.73 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.2513, allocations: 21.72 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2514, allocations: 322.8 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.2515, allocations: 27.98 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.2516, allocations: 54.92 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.2518, allocations: 74.48 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2518, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.252, allocations: 113.9 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.252, allocations: 7.938 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.252, allocations: 4.078 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.252, allocations: 0 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.2521, allocations: 11.98 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2521, allocations: 7.922 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.2522, allocations: 11.89 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2522, allocations: 4 kB / 1.069 GB, free: 8.777 MB / 0.8262 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.054e-05/0.2523, allocations: 121.8 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.2523, allocations: 7.906 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.2524, allocations: 12.38 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2524, allocations: 0 / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2524, allocations: 0 / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2524, allocations: 3.984 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/0.2528, allocations: 390.3 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2528, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.2529, allocations: 4 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2529, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2529, allocations: 4 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2529, allocations: 3.938 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2529, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2532, allocations: 211.4 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.2532, allocations: 89.02 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2533, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.2533, allocations: 11.92 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.2534, allocations: 7.938 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2534, allocations: 3.984 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.2535, allocations: 91.28 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2535, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002609/0.2537, allocations: 39.92 kB / 1.07 GB, free: 7.691 MB / 0.8262 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.0007457/0.2545, allocations: 0.8032 MB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2547, allocations: 71.97 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2547, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.326e-05/0.2548, allocations: 39.91 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.2551, allocations: 9.031 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2566, allocations: 1.492 MB / 1.072 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2568, allocations: 0.6922 MB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.2569, allocations: 11.98 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.2569, allocations: 19.44 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.2569, allocations: 0 / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.947/4.204, allocations: 2.613 MB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.642/13.85, allocations: 2.562 kB / 1.076 GB, free: 1.941 MB / 0.8262 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