Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_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.005489/0.005489, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001207/0.001208, allocations: 187.7 kB / 16.67 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.46/2.46, allocations: 390.3 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 62.67 kB / 0.9504 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2956, allocations: 140.4 MB / 1.087 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002899/0.2985, allocations: 1.494 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2999, allocations: 0.7375 MB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.3, allocations: 0 / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.3001, allocations: 7.938 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.3001, allocations: 7.875 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.3008, allocations: 127.6 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.301, allocations: 71.83 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3011, allocations: 19.97 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3012, allocations: 39.84 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.3013, allocations: 39.83 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3014, allocations: 11.94 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.3016, allocations: 87.91 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.3017, allocations: 19.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.3017, allocations: 31.86 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.302, allocations: 142.4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.302, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3021, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3021, allocations: 0 / 1.09 GB, free: 15.32 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.0008344/0.3029, allocations: 421.8 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.303, allocations: 8.031 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.303, allocations: 30.75 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.3031, allocations: 8.844 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.3032, allocations: 188.1 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.3033, allocations: 8.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3033, allocations: 4.375 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3035, allocations: 69.72 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3036, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3036, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3036, allocations: 4 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3037, allocations: 39.97 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.3045, allocations: 308.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3046, allocations: 54.56 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.3047, allocations: 36.89 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.3048, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.305, allocations: 75.45 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.305, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004373/0.3055, allocations: 141.5 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3055, allocations: 51.41 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3057, allocations: 129.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3057, allocations: 25.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.3057, allocations: 100 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3058, allocations: 11.81 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.3058, allocations: 29.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3059, allocations: 322.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.306, allocations: 27.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.3061, allocations: 42.56 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3063, allocations: 82.48 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3063, allocations: 3.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.3066, allocations: 109.6 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3066, allocations: 9.719 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3066, allocations: 4.062 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3066, allocations: 3.938 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.3067, allocations: 15.98 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3067, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.3068, allocations: 7.906 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3068, allocations: 3.984 kB / 1.093 GB, free: 12.73 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 0.0001079/0.307, allocations: 129.7 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.307, allocations: 3.906 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.307, allocations: 16.38 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.307, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.307, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.307, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.3075, allocations: 382.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3075, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.3076, allocations: 7.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3076, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3076, allocations: 7.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3076, allocations: 8.016 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3076, allocations: 3.984 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.3079, allocations: 207.4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.308, allocations: 85.02 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.308, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.3081, allocations: 7.938 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.3081, allocations: 11.98 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.3082, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.3082, allocations: 91.27 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.894e-06/0.3082, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003311/0.3086, allocations: 47.92 kB / 1.093 GB, free: 11.64 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.0009578/0.3095, allocations: 0.8037 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3098, allocations: 71.88 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3098, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.31, allocations: 35.98 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3103, allocations: 17.94 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3119, allocations: 1.482 MB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.3122, allocations: 0.6924 MB / 1.096 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.3122, allocations: 7.75 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.3123, allocations: 19.42 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3123, allocations: 0 / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.3316, allocations: 2.687 MB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.343, allocations: 7.75 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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