Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001087, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.00104/0.00104, allocations: 194.6 kB / 16.91 MB, free: 6.188 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.41 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003194/0.2868, allocations: 1.555 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2882, allocations: 0.7285 MB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.2883, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.2884, allocations: 7.922 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.2884, allocations: 11.92 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.289, allocations: 107.8 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2891, allocations: 75.77 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.2893, allocations: 16 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.2894, allocations: 31.91 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.2894, allocations: 39.83 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2895, allocations: 8 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2897, allocations: 95.84 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.2897, allocations: 23.91 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.2898, allocations: 27.86 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.29, allocations: 100.1 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.29, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.29, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.29, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8419 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.0006677/0.2907, allocations: 424.9 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2907, allocations: 8.031 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.2908, allocations: 8.844 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2909, allocations: 172.2 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2909, allocations: 8.375 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.291, allocations: 8.359 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2912, allocations: 69.97 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2912, allocations: 3.938 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2912, allocations: 4 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2912, allocations: 4 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.2913, allocations: 35.97 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.292, allocations: 308.8 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.2921, allocations: 50.56 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.2922, allocations: 36.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2922, allocations: 4.062 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.2925, allocations: 83.36 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2925, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004132/0.2929, allocations: 141.5 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.293, allocations: 51.41 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2931, allocations: 117.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2931, allocations: 33.64 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.2932, allocations: 96.03 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2932, allocations: 27.73 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.2933, allocations: 25.7 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2934, allocations: 322.8 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.234e-05/0.2935, allocations: 31.92 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.2936, allocations: 42.56 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.2937, allocations: 78.48 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2938, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.294, allocations: 109.9 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.294, allocations: 6.344 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.294, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2941, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.2942, allocations: 16.05 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.2942, allocations: 4.062 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.2943, allocations: 11.91 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2943, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8419 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.0001041/0.2944, allocations: 117.8 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2944, allocations: 19.83 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.2945, allocations: 8.375 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2945, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2945, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2945, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.2949, allocations: 382.4 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.295, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.295, allocations: 4 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.295, allocations: 3.984 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.295, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.295, allocations: 3.938 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2951, allocations: 7.938 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.2953, allocations: 203.4 kB / 1.069 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.2954, allocations: 89 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.2954, allocations: 0 / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.2955, allocations: 4 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.2956, allocations: 7.922 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2956, allocations: 11.94 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.2956, allocations: 99.86 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2956, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002925/0.2959, allocations: 36 kB / 1.07 GB, free: 8.914 MB / 0.8419 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.0003611/0.2963, allocations: 159.7 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.2966, allocations: 79.88 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2966, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2968, allocations: 35.92 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.297, allocations: 13.53 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.2975, allocations: 214.3 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.2978, allocations: 0.6885 MB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.2979, allocations: 7.438 kB / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2979, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of Templates: time 0.003474/0.3013, allocations: 1.63 MB / 1.072 GB, free: 6.039 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches