Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_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.001264/0.001264, 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.001236/0.001236, allocations: 194.6 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 62 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2874, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002648/0.2901, allocations: 1.497 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2913, allocations: 0.7326 MB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.2914, allocations: 7.875 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.2914, allocations: 3.938 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.2915, allocations: 15.88 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.292, allocations: 119.6 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2921, allocations: 67.84 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.2922, allocations: 15.97 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.2923, allocations: 35.92 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.2924, allocations: 43.81 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.2924, allocations: 8 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.2926, allocations: 95.8 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.2926, allocations: 23.91 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.2927, allocations: 31.86 kB / 1.056 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.293, allocations: 135.9 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.293, allocations: 0 / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.547e-06/0.293, allocations: 0 / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.293, allocations: 3.938 kB / 1.056 GB, free: 5.441 MB / 0.8106 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.0006683/0.2937, allocations: 421 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2937, allocations: 8.625 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.2938, allocations: 38.73 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.2938, allocations: 8.844 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.294, allocations: 176.2 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.294, allocations: 4.375 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.294, allocations: 4.375 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2942, allocations: 77.77 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2942, allocations: 3.984 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2943, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2943, allocations: 4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.2944, allocations: 43.84 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.295, allocations: 312.8 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2951, allocations: 46.56 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2953, allocations: 36.97 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2953, allocations: 0 / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.2955, allocations: 83.3 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2955, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.2959, allocations: 141.6 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.296, allocations: 59.39 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.296, allocations: 117.8 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2961, allocations: 29.7 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.2961, allocations: 96.03 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.2961, allocations: 11.84 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.2962, allocations: 25.7 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.2963, allocations: 322.8 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.2964, allocations: 39.91 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.2965, allocations: 46.56 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.2966, allocations: 70.55 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2966, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.2969, allocations: 121.5 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2969, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.2969, allocations: 0 / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2969, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.297, allocations: 15.92 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2971, allocations: 3.938 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.2971, allocations: 11.84 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2971, allocations: 4 kB / 1.058 GB, free: 2.84 MB / 0.8106 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.339e-05/0.2972, allocations: 125.8 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.2973, allocations: 7.906 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.2973, allocations: 8.359 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2973, allocations: 4 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2973, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2973, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.2977, allocations: 390.3 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2978, allocations: 0 / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.2978, allocations: 4 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2978, allocations: 0 / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2978, allocations: 3.984 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.2978, allocations: 3.938 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2978, allocations: 4 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.2981, allocations: 211.4 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.2982, allocations: 81.11 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2982, allocations: 3.984 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.2983, allocations: 7.938 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2983, allocations: 7.984 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.2983, allocations: 4 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.2984, allocations: 91.27 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2984, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003049/0.2987, allocations: 39.91 kB / 1.059 GB, free: 1.762 MB / 0.8106 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.0008194/0.2995, allocations: 0.8118 MB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.2998, allocations: 87.81 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2998, allocations: 0 / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.2999, allocations: 31.98 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3001, allocations: 11.94 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3017, allocations: 1.476 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3019, allocations: 0.6922 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.302, allocations: 8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.302, allocations: 19.42 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.302, allocations: 0 / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3334, allocations: 2.608 MB / 1.065 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.216, allocations: 13.92 kB / 1.065 GB, free: 12.02 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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