Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009961/0.0009961, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9823/0.9823, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.071/2.071, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.282e-06, allocations: 4 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.385e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002696/0.00273, allocations: 1.543 MB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.003577, allocations: 494.5 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.003621, allocations: 1.781 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.003654, allocations: 3.938 kB / 0.8802 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.003893, allocations: 27.78 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.15e-05/0.003984, allocations: 16.97 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.004077, allocations: 59.78 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.004165, allocations: 4 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.00435, allocations: 52.89 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.004423, allocations: 15.98 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.004442, allocations: 5.062 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.004455, allocations: 4 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.004476, allocations: 11.92 kB / 0.8804 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.004517, allocations: 21.06 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.412e-05/0.004611, allocations: 31.91 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004614, allocations: 0 / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004615, allocations: 0.9688 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.004619, allocations: 0 / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004925/0.005112, allocations: 386.1 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.005156, allocations: 8.031 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.005203, allocations: 8.922 kB / 0.8808 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.005317, allocations: 128.4 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.005334, allocations: 4.875 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.005351, allocations: 4.375 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.005462, allocations: 60.81 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005473, allocations: 192 / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005483, allocations: 384 / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.005495, allocations: 7.938 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.005538, allocations: 15.98 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.005941, allocations: 269.1 kB / 0.8813 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.006052, allocations: 51.05 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.00609, allocations: 21 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.006097, allocations: 0 / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.006223, allocations: 80.92 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.006225, allocations: 1.594 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.000198/0.006423, allocations: 73.62 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.006463, allocations: 59.41 kB / 0.8815 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.006553, allocations: 169.9 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.006568, allocations: 28.17 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.006618, allocations: 138.9 kB / 0.8819 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.006644, allocations: 15.94 kB / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.006688, allocations: 35.34 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.006819, allocations: 496.1 kB / 0.8824 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.006846, allocations: 8 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/0.006869, allocations: 11.98 kB / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.006929, allocations: 33.69 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.006932, allocations: 4 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001097/0.007042, allocations: 66.08 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.007057, allocations: 4 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.007064, allocations: 3.984 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.007081, allocations: 4.719 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.00716, allocations: 12 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007165, allocations: 4 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.007207, allocations: 11.89 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.007215, allocations: 80 / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.228e-05/0.007297, allocations: 168.5 kB / 0.8827 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.007312, allocations: 7.938 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.007338, allocations: 4.438 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007341, allocations: 0 / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.007344, allocations: 0 / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007347, allocations: 0 / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.007439, allocations: 128.6 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.00744, allocations: 4 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.007462, allocations: 7.984 kB / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.007466, allocations: 3.938 kB / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.007473, allocations: 0 / 0.8828 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.007475, allocations: 3.984 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007476, allocations: 0 / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.007609, allocations: 116.6 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.007623, allocations: 7.938 kB / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.007643, allocations: 3.938 kB / 0.883 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.007673, allocations: 4 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.00771, allocations: 3.984 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.007716, allocations: 11.94 kB / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.271e-05/0.007769, allocations: 139.2 kB / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007769, allocations: 0 / 0.8831 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001928/0.007962, allocations: 8 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001059/0.008068, allocations: 99.25 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.008181, allocations: 43.61 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008183, allocations: 4 kB / 0.8833 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.008221, allocations: 19.67 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.008377, allocations: 10.44 kB / 0.8833 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.009056, allocations: 166.1 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.009092, allocations: 55.36 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.009119, allocations: 7.938 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.009154, allocations: 12.48 kB / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.009155, allocations: 0 / 0.8835 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of Templates: time 0.002701/0.01186, allocations: 0.611 MB / 0.8841 GB, free: 15.92 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4404474212788045]