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.007967/0.007967, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001978/0.001978, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.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.547/2.547, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.89 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5886, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002792/0.5914, allocations: 1.566 MB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.5926, allocations: 0.744 MB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.5927, allocations: 8 kB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.5927, allocations: 0 / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.5928, allocations: 11.86 kB / 1.02 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.5933, allocations: 99.77 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.5934, allocations: 67.84 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.5934, allocations: 8 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.5935, allocations: 35.89 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.5936, allocations: 39.84 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.5936, allocations: 4 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.5938, allocations: 87.84 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.5938, allocations: 23.91 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.5939, allocations: 23.86 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.5941, allocations: 97.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5941, allocations: 7.984 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5941, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.5941, allocations: 0 / 1.02 GB, free: 15.93 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.0006029/0.5947, allocations: 420.9 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5947, allocations: 12.03 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.5948, allocations: 12.78 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.5949, allocations: 172.3 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.5949, allocations: 8.312 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.595, allocations: 4.375 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5952, allocations: 73.97 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5952, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5952, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5952, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5953, allocations: 35.97 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.5959, allocations: 320.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.5961, allocations: 50.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.5962, allocations: 36.95 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.5962, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.5964, allocations: 75.38 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.5964, allocations: 3.984 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003955/0.5968, allocations: 141.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.5968, allocations: 55.41 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.5969, allocations: 121.8 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.597, allocations: 29.7 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.597, allocations: 88.14 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.5971, allocations: 15.88 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.5971, allocations: 25.7 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5972, allocations: 326.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.5973, allocations: 35.92 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.5974, allocations: 46.55 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.5976, allocations: 70.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5976, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002241/0.5978, allocations: 121.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5978, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5978, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5979, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.598, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.598, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.598, allocations: 11.84 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.5981, allocations: 7.984 kB / 1.022 GB, free: 13.39 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 9.054e-05/0.5982, allocations: 130.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.5982, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.5982, allocations: 4.375 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5982, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5982, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5982, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.5987, allocations: 390.7 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5987, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.5987, allocations: 7.984 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5987, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5987, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5987, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5988, allocations: 4.016 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.599, allocations: 219.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.5991, allocations: 81.11 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5991, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.5992, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.5993, allocations: 11.92 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.5993, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.5993, allocations: 99.8 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5993, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002722/0.5996, allocations: 39.98 kB / 1.023 GB, free: 12.3 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.0003372/0.6, allocations: 162 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.6002, allocations: 75.89 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6002, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.6003, allocations: 40.03 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.6005, allocations: 16.83 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.6009, allocations: 211.8 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.6012, allocations: 0.6888 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.6012, allocations: 23.3 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6013, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003193/0.6045, allocations: 1.592 MB / 1.026 GB, free: 9.441 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches