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.001328/0.001328, allocations: 93.06 kB / 19.65 MB, free: 272 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.001582/0.001582, allocations: 169 kB / 23.02 MB, free: 1.543 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.9492/0.9492, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.051/2.051, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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 1.723e-06/1.723e-06, allocations: 0 / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.055e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002137/0.002167, allocations: 1.537 MB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.00284, allocations: 495.5 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.002883, allocations: 0.7188 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.002916, allocations: 3.938 kB / 0.8802 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.003157, allocations: 31.5 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.62e-05/0.003233, allocations: 23.89 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.959e-05/0.003312, allocations: 55.8 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.003401, allocations: 7.984 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.00357, allocations: 43.84 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.003638, allocations: 15.97 kB / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.003654, allocations: 7.938 kB / 0.8803 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003664, allocations: 4 kB / 0.8804 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.003683, allocations: 17.55 kB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.00372, allocations: 15.92 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.45e-05/0.003804, allocations: 35.89 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003807, allocations: 0 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003808, allocations: 1.031 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.003812, allocations: 0 / 0.8804 GB, free: 3.996 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.0004496/0.004262, allocations: 385.6 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.004298, allocations: 8.031 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.004342, allocations: 4.938 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.004436, allocations: 129.5 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.00445, allocations: 4.375 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004461, allocations: 4.375 kB / 0.8809 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.004556, allocations: 56.08 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004564, allocations: 4.172 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.004575, allocations: 4.375 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.004583, allocations: 4.812 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.004617, allocations: 11.94 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.004972, allocations: 274.4 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.25e-05/0.005064, allocations: 47.05 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.005096, allocations: 27.73 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.005103, allocations: 0 / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.005208, allocations: 76.88 kB / 0.8814 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.005209, allocations: 0 / 0.8814 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001684/0.005377, allocations: 75.55 kB / 0.8815 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.005416, allocations: 55.41 kB / 0.8815 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.005497, allocations: 165.9 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005509, allocations: 33.7 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.005553, allocations: 126.9 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.005579, allocations: 28.62 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.005611, allocations: 23.38 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.00572, allocations: 0.4978 MB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.005742, allocations: 4 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.005761, allocations: 15.98 kB / 0.8824 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.005812, allocations: 27.94 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005814, allocations: 0.5 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.265e-05/0.005896, allocations: 70.69 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.005912, allocations: 8 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005917, allocations: 0.9375 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005929, allocations: 0 / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.005998, allocations: 15.92 kB / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.006003, allocations: 1.594 kB / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.006039, allocations: 15.89 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.006046, allocations: 0 / 0.8825 GB, free: 1.625 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 6.952e-05/0.006116, allocations: 160.6 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.006128, allocations: 11.94 kB / 0.8827 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.00615, allocations: 8.422 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006153, allocations: 4 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006156, allocations: 0 / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.00616, allocations: 3.984 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.46e-05/0.006235, allocations: 124.6 kB / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006236, allocations: 0 / 0.8828 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.006253, allocations: 8 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.006256, allocations: 3.938 kB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006263, allocations: 0 / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006265, allocations: 4.078 kB / 0.8829 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.006268, allocations: 11.92 kB / 0.8829 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.006369, allocations: 108.3 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.00638, allocations: 3.953 kB / 0.883 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.006402, allocations: 11.94 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.583e-05/0.006427, allocations: 3.984 kB / 0.883 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.00646, allocations: 4 kB / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.006465, allocations: 0 / 0.883 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.006509, allocations: 135.2 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006509, allocations: 0 / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001276/0.006637, allocations: 12 kB / 0.8831 GB, free: 0.9453 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 8.962e-05/0.006726, allocations: 95.25 kB / 0.8832 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.006836, allocations: 59.66 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006838, allocations: 0 / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.006867, allocations: 15.69 kB / 0.8833 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.006978, allocations: 11.98 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.007519, allocations: 158.1 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.00756, allocations: 63.34 kB / 0.8835 GB, free: 496 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.007583, allocations: 4 kB / 0.8835 GB, free: 492 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.007615, allocations: 16.5 kB / 0.8835 GB, free: 476 kB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.007615, allocations: 0 / 0.8835 GB, free: 476 kB / 0.8386 GB Notification: Performance of Templates: time 0.00272/0.01034, allocations: 0.6238 MB / 0.8841 GB, free: 15.85 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.212914732750505]