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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001159/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 66.41 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2914, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003003/0.2945, allocations: 1.566 MB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.2958, allocations: 0.7323 MB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.2959, allocations: 3.938 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.2959, allocations: 7.938 kB / 1.054 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.296, allocations: 15.91 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.2966, allocations: 99.77 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2967, allocations: 67.84 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2968, allocations: 7.984 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2969, allocations: 31.92 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.297, allocations: 39.77 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.297, allocations: 8 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.2972, allocations: 87.91 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.2973, allocations: 15.92 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.2973, allocations: 31.84 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2976, allocations: 139.9 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2976, allocations: 3.938 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2976, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2976, allocations: 0 / 1.055 GB, free: 5.359 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.0006686/0.2983, allocations: 418.6 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2983, allocations: 11.97 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.2984, allocations: 38.75 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.2984, allocations: 12.83 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2986, allocations: 172.2 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2986, allocations: 384 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.2986, allocations: 8.375 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2988, allocations: 69.78 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2989, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2989, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2989, allocations: 4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.299, allocations: 43.84 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.2997, allocations: 316.8 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2998, allocations: 50.55 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.2999, allocations: 32.97 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2999, allocations: 3.938 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.3002, allocations: 83.31 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3002, allocations: 0 / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004019/0.3006, allocations: 137.5 kB / 1.056 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3006, allocations: 59.41 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.3007, allocations: 125.8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3008, allocations: 25.7 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.3008, allocations: 92.05 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.3009, allocations: 19.89 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.3009, allocations: 25.72 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.301, allocations: 326.8 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.3011, allocations: 31.92 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-05/0.3012, allocations: 46.55 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3014, allocations: 66.56 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3014, allocations: 0 / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000234/0.3016, allocations: 117.5 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3016, allocations: 4 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3016, allocations: 0 / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3017, allocations: 7.938 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.3018, allocations: 11.98 kB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3018, allocations: 0 / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.3019, allocations: 19.83 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3019, allocations: 4 kB / 1.057 GB, free: 2.766 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.012e-05/0.302, allocations: 124.3 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.302, allocations: 7.906 kB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.302, allocations: 8.375 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.302, allocations: 3.984 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3021, allocations: 4 kB / 1.057 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3021, allocations: 3.984 kB / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.3025, allocations: 386.3 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3025, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.3026, allocations: 4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3026, allocations: 4 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3026, allocations: 4 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3026, allocations: 3.938 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3026, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3029, allocations: 215.3 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3029, allocations: 77.11 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.303, allocations: 4 kB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.201e-05/0.3031, allocations: 11.92 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3031, allocations: 4 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3031, allocations: 7.984 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.3032, allocations: 91.22 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3032, allocations: 0 / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003052/0.3035, allocations: 43.89 kB / 1.058 GB, free: 1.68 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.0008071/0.3043, allocations: 0.8011 MB / 1.059 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3046, allocations: 79.84 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3046, allocations: 0 / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.3047, allocations: 35.97 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.3049, allocations: 11.94 kB / 1.059 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3065, allocations: 1.494 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3068, allocations: 0.6848 MB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.3068, allocations: 11.98 kB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3069, allocations: 15.44 kB / 1.061 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3069, allocations: 3.938 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.3195, allocations: 2.428 MB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.3198, allocations: 279.2 kB / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.134, allocations: 1.719 kB / 1.064 GB, free: 11.78 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