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.005097/0.005097, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001297/0.001297, allocations: 190.4 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.575/2.575, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 62.53 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3218, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003665/0.3256, allocations: 1.511 MB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3272, allocations: 0.7259 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.3273, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.3274, allocations: 3.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.234e-05/0.3275, allocations: 15.88 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.3284, allocations: 119.6 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3286, allocations: 83.75 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3288, allocations: 11.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3289, allocations: 35.91 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.329, allocations: 43.83 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.329, allocations: 8 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3293, allocations: 95.84 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.3294, allocations: 15.92 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.3294, allocations: 31.86 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.3298, allocations: 142.5 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3298, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3298, allocations: 7.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.3298, allocations: 0 / 1.09 GB, free: 15.2 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.001005/0.3308, allocations: 413.8 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.3309, allocations: 16.03 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.331, allocations: 38.69 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.331, allocations: 8.844 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3312, allocations: 180.2 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.3313, allocations: 4.375 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3313, allocations: 8.375 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.3315, allocations: 65.78 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3316, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3316, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3316, allocations: 7.984 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3318, allocations: 43.91 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.3325, allocations: 312.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3327, allocations: 46.56 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.3328, allocations: 40.95 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.3328, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.3331, allocations: 79.31 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.3331, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004473/0.3335, allocations: 137.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.3336, allocations: 51.41 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3337, allocations: 129.8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3338, allocations: 25.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.3338, allocations: 96.05 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3339, allocations: 15.88 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.3339, allocations: 29.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3341, allocations: 322.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.3342, allocations: 27.98 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3343, allocations: 54.48 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3344, allocations: 70.5 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3345, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002339/0.3347, allocations: 109.6 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3347, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3347, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3348, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3349, allocations: 19.92 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3349, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.335, allocations: 7.906 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.335, allocations: 7.984 kB / 1.092 GB, free: 12.61 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.0001099/0.3351, allocations: 126.2 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.3351, allocations: 7.906 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3352, allocations: 16.31 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3352, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3352, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3352, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.3357, allocations: 382.8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3357, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.3357, allocations: 11.98 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3357, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3357, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3358, allocations: 3.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3358, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3361, allocations: 211.4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.3361, allocations: 85.02 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3361, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.3362, allocations: 11.94 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3363, allocations: 3.984 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3363, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.3364, allocations: 91.27 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3364, allocations: 3.938 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003069/0.3367, allocations: 39.98 kB / 1.093 GB, free: 11.52 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.0008787/0.3376, allocations: 0.813 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.3378, allocations: 63.95 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3378, allocations: 4.125 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3379, allocations: 35.92 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3382, allocations: 15.92 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3398, allocations: 1.488 MB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3401, allocations: 0.6885 MB / 1.096 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.3401, allocations: 3.75 kB / 1.096 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.3402, allocations: 23.42 kB / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3402, allocations: 0 / 1.097 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/1.647, allocations: 2.643 MB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/14.25, allocations: 12.2 kB / 1.099 GB, free: 5.746 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