Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.002061/0.002061, allocations: 187 kB / 17.34 MB, free: 5.742 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.387/2.387, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8366, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002941/0.8396, allocations: 1.484 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.8405, allocations: 474.8 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.8406, allocations: 0 / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.8407, allocations: 7.922 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.841, allocations: 23.86 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.282e-05/0.8411, allocations: 11.98 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.8412, allocations: 55.78 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.8413, allocations: 8 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.8414, allocations: 27.91 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.8415, allocations: 23.91 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.8415, allocations: 4 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.8416, allocations: 4 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.8416, allocations: 7.938 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.8416, allocations: 23.92 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.8418, allocations: 51.41 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8418, allocations: 4 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8418, allocations: 4 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8418, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006036/0.8424, allocations: 349.4 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8425, allocations: 8.922 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.8425, allocations: 8.844 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.8427, allocations: 168.3 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.8427, allocations: 384 / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.8427, allocations: 4.375 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.8428, allocations: 57.98 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8428, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.8429, allocations: 4 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8429, allocations: 0 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.8429, allocations: 23.92 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.8433, allocations: 272.8 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.8434, allocations: 38.58 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.8435, allocations: 32.88 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.8435, allocations: 0 / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.8437, allocations: 67.33 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 3.176e-06/0.8437, allocations: 3.984 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002265/0.844, allocations: 77.67 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.844, allocations: 51.41 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.8441, allocations: 113.8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.8441, allocations: 29.7 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.8442, allocations: 96.03 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.8442, allocations: 7.844 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.8443, allocations: 21.7 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.8444, allocations: 318.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.8444, allocations: 19.92 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.8445, allocations: 12 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.8445, allocations: 25.23 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8445, allocations: 12 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001068/0.8447, allocations: 65.59 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8447, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8447, allocations: 3.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8447, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.8448, allocations: 11.98 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8448, allocations: 3.938 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.8449, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.8449, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.889e-05/0.845, allocations: 121.8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.845, allocations: 7.906 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.845, allocations: 11.95 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.845, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8451, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.8451, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.8452, allocations: 173.6 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.8452, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.8452, allocations: 7.984 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8453, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.8453, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8453, allocations: 4 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8453, allocations: 320 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.8454, allocations: 97 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.8455, allocations: 89 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.8455, allocations: 0 / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.8456, allocations: 4 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.8456, allocations: 7.922 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.8456, allocations: 16.12 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.8457, allocations: 91.27 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8457, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001921/0.8459, allocations: 8 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001241/0.846, allocations: 103.2 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.8462, allocations: 43.86 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8462, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.8462, allocations: 16 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.8464, allocations: 5.125 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.8468, allocations: 163.7 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.847, allocations: 0.6807 MB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.8471, allocations: 11.44 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8471, allocations: 3.938 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.002159/0.8492, allocations: 0.7358 MB / 1.174 GB, free: 12.96 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches