Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 114 kB / 16.81 MB, free: 5.766 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.001904/0.001904, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.405/1.405, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.75 kB / 1.097 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2895, allocations: 168.7 MB / 1.262 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003666/0.2932, allocations: 1.517 MB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.2951, allocations: 0.7646 MB / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.2952, allocations: 0 / 1.264 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.2952, allocations: 7.875 kB / 1.264 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.2953, allocations: 7.875 kB / 1.264 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.296, allocations: 135.6 kB / 1.264 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2962, allocations: 107.7 kB / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.2962, allocations: 8 kB / 1.265 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2964, allocations: 51.89 kB / 1.265 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2965, allocations: 51.81 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.2965, allocations: 8 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.2968, allocations: 107.8 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.2969, allocations: 31.89 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.297, allocations: 35.84 kB / 1.265 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.2973, allocations: 175.3 kB / 1.265 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2973, allocations: 0 / 1.265 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2973, allocations: 4 kB / 1.265 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2973, allocations: 0 / 1.265 GB, free: 9.797 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009304/0.2983, allocations: 462.3 kB / 1.265 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2983, allocations: 8.625 kB / 1.265 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.2984, allocations: 12.83 kB / 1.265 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.2986, allocations: 180.2 kB / 1.266 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.2986, allocations: 4.375 kB / 1.266 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.2986, allocations: 8.359 kB / 1.266 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.299, allocations: 89.94 kB / 1.266 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.299, allocations: 4 kB / 1.266 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.299, allocations: 4 kB / 1.266 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.299, allocations: 0 / 1.266 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2993, allocations: 47.91 kB / 1.266 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3004, allocations: 340.7 kB / 1.266 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3006, allocations: 58.64 kB / 1.266 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.3008, allocations: 52.77 kB / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3008, allocations: 0 / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003734/0.3012, allocations: 95.3 kB / 1.266 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.3012, allocations: 0 / 1.266 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0008727/0.3021, allocations: 193.5 kB / 1.266 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.3021, allocations: 55.55 kB / 1.267 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3023, allocations: 143.3 kB / 1.267 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3024, allocations: 25.7 kB / 1.267 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.3025, allocations: 100.1 kB / 1.267 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3025, allocations: 19.84 kB / 1.267 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.3026, allocations: 29.7 kB / 1.267 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.3028, allocations: 326.8 kB / 1.267 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3029, allocations: 27.98 kB / 1.267 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3031, allocations: 61.52 kB / 1.267 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3034, allocations: 96.2 kB / 1.267 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3034, allocations: 0 / 1.267 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004623/0.3039, allocations: 133.6 kB / 1.267 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3039, allocations: 8 kB / 1.267 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3039, allocations: 0 / 1.267 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.3039, allocations: 7.938 kB / 1.267 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3041, allocations: 15.98 kB / 1.267 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3041, allocations: 0 / 1.267 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.3042, allocations: 15.94 kB / 1.267 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3042, allocations: 4 kB / 1.267 GB, free: 6.957 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001671/0.3044, allocations: 129.7 kB / 1.268 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3044, allocations: 7.953 kB / 1.268 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.3045, allocations: 8.375 kB / 1.268 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3045, allocations: 3.984 kB / 1.268 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3045, allocations: 0 / 1.268 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.3045, allocations: 85.06 kB / 1.268 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.3046, allocations: 0 / 1.268 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3047, allocations: 15.92 kB / 1.268 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.3048, allocations: 4 kB / 1.268 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006404/0.3054, allocations: 228.8 kB / 1.268 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006554/0.3061, allocations: 314.7 kB / 1.268 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002069/0.3063, allocations: 35.97 kB / 1.268 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.822e-05/0.3064, allocations: 107.2 kB / 1.268 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of Backend: time 2.8e-07/0.3064, allocations: 0 / 1.268 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.3074, allocations: 188.5 kB / 1.269 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007246/0.3081, allocations: 0.6372 MB / 1.269 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of Templates: time 0.006885/0.315, allocations: 1.77 MB / 1.271 GB, free: 3.359 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0