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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001364/0.001364, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6862, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002816/0.6891, allocations: 1.493 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.6904, allocations: 0.7323 MB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.6904, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.6905, allocations: 7.875 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.537e-05/0.6906, allocations: 7.922 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.6911, allocations: 123.6 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.6912, allocations: 75.72 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.6913, allocations: 15.98 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.6914, allocations: 31.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.6915, allocations: 43.83 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.6916, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.6918, allocations: 99.78 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.6918, allocations: 15.92 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.6919, allocations: 35.84 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.6921, allocations: 141.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6921, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6921, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.6921, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 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.0006851/0.6928, allocations: 420.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6929, allocations: 8.031 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.6929, allocations: 12.84 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.6931, allocations: 172.3 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.6931, allocations: 8.375 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.6931, allocations: 384 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.6933, allocations: 73.97 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6933, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6933, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6934, allocations: 4 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.6935, allocations: 35.97 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.6941, allocations: 332.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6943, allocations: 42.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.6944, allocations: 32.97 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.6944, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.6946, allocations: 79.36 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.6946, allocations: 7.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004084/0.695, allocations: 141.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.6951, allocations: 51.41 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.6952, allocations: 121.8 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.6953, allocations: 29.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.6953, allocations: 92.2 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.6954, allocations: 19.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.6954, allocations: 29.7 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6956, allocations: 318.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.6956, allocations: 27.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.6958, allocations: 46.55 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.6959, allocations: 78.48 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6959, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002535/0.6962, allocations: 109.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6962, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6962, allocations: 7.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6963, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.6964, allocations: 11.94 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6964, allocations: 4.062 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.6965, allocations: 19.77 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6965, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 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.0001106/0.6966, allocations: 121.8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.6966, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.6966, allocations: 12.36 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.6967, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6967, allocations: 3.938 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6967, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.6972, allocations: 386.3 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6972, allocations: 3.984 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.6972, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6972, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.6973, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.6973, allocations: 11.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6973, allocations: 3.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.6976, allocations: 207.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.6977, allocations: 85.02 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.6977, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-05/0.6978, allocations: 7.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.6978, allocations: 7.922 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6978, allocations: 7.984 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.6979, allocations: 99.27 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6979, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000295/0.6982, allocations: 36 kB / 1.023 GB, free: 12 MB / 0.7794 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.0003636/0.6986, allocations: 165.1 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.6989, allocations: 79.94 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6989, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.699, allocations: 31.98 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.6993, allocations: 13.7 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.6997, allocations: 180.4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.7001, allocations: 0.6885 MB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.7001, allocations: 7.938 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.7002, allocations: 11.44 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7002, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.004801/0.705, allocations: 1.464 MB / 1.026 GB, free: 9.324 MB / 0.7794 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 -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/jenkins/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