Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001557/0.001557, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 66.38 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2593, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006464/0.2658, allocations: 4.272 MB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6845/0.9504, allocations: 150.5 MB / 1.101 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/0.9513, allocations: 18.66 kB / 1.101 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.9518, allocations: 172.1 kB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.9535, allocations: 489.9 kB / 1.102 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.9553, allocations: 0.7529 MB / 1.103 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.957, allocations: 1.196 MB / 1.104 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008836/0.9579, allocations: 0.5082 MB / 1.104 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007883/0.9587, allocations: 404.3 kB / 1.105 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.9593, allocations: 424.2 kB / 1.105 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.9595, allocations: 97.47 kB / 1.105 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008767/0.9604, allocations: 373.7 kB / 1.106 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.9606, allocations: 257.1 kB / 1.106 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.9612, allocations: 482.6 kB / 1.106 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.963, allocations: 1.35 MB / 1.108 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9631, allocations: 0 / 1.108 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9631, allocations: 2.656 kB / 1.108 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.9631, allocations: 0 / 1.108 GB, free: 4.602 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002522/0.9656, allocations: 1.275 MB / 1.109 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9657, allocations: 9.625 kB / 1.109 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.966, allocations: 107.1 kB / 1.109 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.9671, allocations: 0.694 MB / 1.11 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.9671, allocations: 53.55 kB / 1.11 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.9673, allocations: 64.47 kB / 1.11 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.9687, allocations: 0.7768 MB / 1.111 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.9687, allocations: 4.562 kB / 1.111 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.9688, allocations: 28.41 kB / 1.111 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.9688, allocations: 16.5 kB / 1.111 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.9704, allocations: 0.9751 MB / 1.112 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/0.9742, allocations: 2.48 MB / 1.114 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.9754, allocations: 0.6827 MB / 1.115 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.9758, allocations: 249.7 kB / 1.115 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-05/0.9759, allocations: 29.34 kB / 1.115 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007173/0.9766, allocations: 416 kB / 1.115 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/0.9766, allocations: 7.75 kB / 1.115 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001598/0.9782, allocations: 0.8383 MB / 1.116 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.9784, allocations: 242.1 kB / 1.116 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/0.9793, allocations: 0.6325 MB / 1.117 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.9793, allocations: 40.62 kB / 1.117 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.9796, allocations: 359.7 kB / 1.117 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.9798, allocations: 225.2 kB / 1.118 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.98, allocations: 158.1 kB / 1.118 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.9803, allocations: 387.3 kB / 1.118 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.9806, allocations: 220 kB / 1.118 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.9811, allocations: 336.2 kB / 1.119 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.9819, allocations: 0.5177 MB / 1.119 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.9819, allocations: 1.953 kB / 1.119 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001192/0.9831, allocations: 0.687 MB / 1.12 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9831, allocations: 6.375 kB / 1.12 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.9832, allocations: 5.25 kB / 1.12 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.9832, allocations: 4.5 kB / 1.12 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.9837, allocations: 147.8 kB / 1.12 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.9838, allocations: 6.375 kB / 1.12 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/0.9844, allocations: 90.72 kB / 1.12 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.9845, allocations: 36.08 kB / 1.12 GB, free: 16.67 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.000448/0.985, allocations: 255.1 kB / 1.12 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.9851, allocations: 80.72 kB / 1.12 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.9867, allocations: 0.8434 MB / 1.121 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.9868, allocations: 8.281 kB / 1.121 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.9868, allocations: 1.125 kB / 1.121 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.9868, allocations: 8.578 kB / 1.121 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.9881, allocations: 0.9723 MB / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9881, allocations: 0 / 1.122 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.9885, allocations: 126.3 kB / 1.122 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.9885, allocations: 4.281 kB / 1.122 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.9886, allocations: 28.86 kB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.9886, allocations: 4.906 kB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9886, allocations: 2.25 kB / 1.122 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.9897, allocations: 0.7281 MB / 1.123 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.9901, allocations: 257.5 kB / 1.123 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.9902, allocations: 20.59 kB / 1.123 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.9907, allocations: 58.53 kB / 1.123 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.9909, allocations: 61.95 kB / 1.124 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.9909, allocations: 28.33 kB / 1.124 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005528/0.9915, allocations: 459.7 kB / 1.124 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8.42e-07/0.9915, allocations: 0 / 1.124 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008728/0.9924, allocations: 270.5 kB / 1.124 GB, free: 15.66 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00135/0.9937, allocations: 0.5988 MB / 1.125 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.9954, allocations: 0.7607 MB / 1.126 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9954, allocations: 0 / 1.126 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.9958, allocations: 319.7 kB / 1.126 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.997, allocations: 265.2 kB / 1.126 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.9993, allocations: 1.465 MB / 1.128 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/0.9999, allocations: 0.9754 MB / 1.129 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/1, allocations: 115.1 kB / 1.129 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1, allocations: 0 / 1.129 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.02163/1.022, allocations: 13.38 MB / 1.142 GB, free: 11.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul