Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_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_10_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.001633/0.001633, allocations: 113.2 kB / 16.37 MB, free: 6 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.00216/0.00216, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.348/1.348, 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.497/2.497, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.48 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3832, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002904/0.3861, allocations: 1.501 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3874, allocations: 0.7376 MB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.3874, allocations: 0 / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.3875, allocations: 3.938 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.3876, allocations: 11.88 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.3882, allocations: 119.6 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3883, allocations: 79.77 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.3884, allocations: 12 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.3885, allocations: 39.84 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.3886, allocations: 35.89 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3886, allocations: 4 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.3888, allocations: 99.84 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.3888, allocations: 23.91 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.3889, allocations: 27.86 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3891, allocations: 135.6 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3891, allocations: 4 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3891, allocations: 0 / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3892, allocations: 0 / 1.022 GB, free: 7.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006372/0.3898, allocations: 424.9 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3898, allocations: 12.03 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.3899, allocations: 4.844 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3901, allocations: 180.2 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3901, allocations: 4.375 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3901, allocations: 12.38 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3903, allocations: 69.97 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3903, allocations: 3.984 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3904, allocations: 3.938 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3904, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3905, allocations: 31.98 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.3911, allocations: 320.7 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.3912, allocations: 46.56 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.3913, allocations: 36.97 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3913, allocations: 0 / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.3915, allocations: 83.36 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3916, allocations: 0 / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003846/0.3919, allocations: 141.5 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.392, allocations: 63.39 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.3921, allocations: 113.8 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3921, allocations: 29.7 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.3922, allocations: 88.12 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3922, allocations: 19.75 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.3923, allocations: 33.7 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3924, allocations: 322.8 kB / 1.024 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.3925, allocations: 27.91 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.3926, allocations: 46.56 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3928, allocations: 78.48 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3928, allocations: 0 / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002302/0.393, allocations: 117.5 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.393, allocations: 4 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.393, allocations: 0 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3931, allocations: 0 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3932, allocations: 15.98 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3932, allocations: 8 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.3933, allocations: 11.91 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3933, allocations: 4 kB / 1.024 GB, free: 4.461 MB / 0.795 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.0001002/0.3934, allocations: 122.6 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.3934, allocations: 4 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.3934, allocations: 12.36 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3935, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3935, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3935, allocations: 4 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.394, allocations: 390.2 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.394, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.394, allocations: 8 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.394, allocations: 0 / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3941, allocations: 7.984 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3941, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3941, allocations: 3.938 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3943, allocations: 211.4 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.3944, allocations: 77.11 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3944, allocations: 11.92 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.3945, allocations: 7.938 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.3946, allocations: 11.92 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3946, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.3946, allocations: 95.27 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.41e-07/0.3947, allocations: 4 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003112/0.395, allocations: 36 kB / 1.025 GB, free: 3.375 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: 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.0004002/0.3954, allocations: 162 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.3957, allocations: 75.95 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3957, allocations: 0 / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3958, allocations: 35.98 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3961, allocations: 10.39 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.3966, allocations: 180.3 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3969, allocations: 0.6885 MB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.397, allocations: 12 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.397, allocations: 11.44 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.397, allocations: 0 / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of Templates: time 0.00462/0.4016, allocations: 1.449 MB / 1.027 GB, free: 0.7188 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0