Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 109.2 kB / 16.37 MB, free: 6.473 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.001116/0.001116, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.5 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2854, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002711/0.2881, allocations: 1.518 MB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2894, allocations: 0.757 MB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.2894, allocations: 0 / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.2895, allocations: 11.86 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.2895, allocations: 15.88 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.29, allocations: 135.6 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2902, allocations: 107.7 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.2903, allocations: 8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.2904, allocations: 47.89 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.997e-05/0.2905, allocations: 51.81 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2905, allocations: 12 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.2907, allocations: 99.84 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2907, allocations: 27.91 kB / 1.022 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.2908, allocations: 39.84 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.291, allocations: 163.6 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.291, allocations: 4 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.291, allocations: 0 / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2911, allocations: 0 / 1.022 GB, free: 6.836 MB / 0.795 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.0006743/0.2917, allocations: 454.6 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2918, allocations: 8.625 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.2918, allocations: 12.78 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.292, allocations: 178.1 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.292, allocations: 12.36 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.292, allocations: 4.375 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.2922, allocations: 85.95 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2923, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2923, allocations: 7.984 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2923, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2924, allocations: 51.91 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.2932, allocations: 348.5 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2933, allocations: 62.66 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2935, allocations: 48.77 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2935, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.2937, allocations: 91.36 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.2937, allocations: 0 / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005026/0.2942, allocations: 189.5 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2943, allocations: 55.41 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.2944, allocations: 125.8 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.2944, allocations: 33.7 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2944, allocations: 96.14 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2945, allocations: 19.7 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.2945, allocations: 25.72 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2946, allocations: 330.8 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.2947, allocations: 27.98 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2948, allocations: 66.27 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.295, allocations: 100.2 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2951, allocations: 0 / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002574/0.2953, allocations: 133.4 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2953, allocations: 7.984 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2953, allocations: 4 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2954, allocations: 0 / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2955, allocations: 20.08 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2955, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/0.2956, allocations: 11.94 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2956, allocations: 4 kB / 1.024 GB, free: 4.012 MB / 0.795 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 9.271e-05/0.2957, allocations: 125.7 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.2957, allocations: 11.89 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.2958, allocations: 8.375 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2958, allocations: 4 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2958, allocations: 4 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2958, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.2963, allocations: 426.4 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2963, allocations: 0 / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.2964, allocations: 7.984 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2964, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2964, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2964, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2964, allocations: 7.938 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.2968, allocations: 239.4 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.2968, allocations: 85 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2969, allocations: 8 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.297, allocations: 7.938 kB / 1.025 GB, free: 2.996 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.297, allocations: 15.86 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.297, allocations: 4.062 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.161e-05/0.2971, allocations: 99.27 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2971, allocations: 0 / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003002/0.2974, allocations: 43.92 kB / 1.025 GB, free: 2.836 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003118/0.2977, allocations: 170.3 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.298, allocations: 95.88 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.298, allocations: 0 / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.2982, allocations: 43.97 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.2984, allocations: 15.92 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.2989, allocations: 204.3 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2991, allocations: 0.6924 MB / 1.026 GB, free: 1.578 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.2992, allocations: 4 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.2992, allocations: 7.438 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.2992, allocations: 4 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of Templates: time 0.004303/0.3035, allocations: 1.739 MB / 1.028 GB, free: 15.84 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0