Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.0009179/0.0009179, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009083/0.0009083, allocations: 177 kB / 23.36 MB, free: 1.133 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.8971/0.8971, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.328/2.328, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.627e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002935/0.002962, allocations: 1.52 MB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.003408, allocations: 179.3 kB / 0.8403 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.003453, allocations: 3.938 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.003482, allocations: 3.938 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.003745, allocations: 23.84 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.003951, allocations: 63.78 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.004068, allocations: 67.77 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.004148, allocations: 8 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.004253, allocations: 31.97 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.004344, allocations: 19.91 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.004374, allocations: 8 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.004389, allocations: 4 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.004418, allocations: 11.98 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.00446, allocations: 23.91 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.004563, allocations: 43.83 kB / 0.8406 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004566, allocations: 4 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.133e-06/0.004567, allocations: 0 / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.00457, allocations: 4 kB / 0.8406 GB, free: 12.21 MB / 0.8073 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.0004225/0.004993, allocations: 252.8 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.005034, allocations: 16.56 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.00507, allocations: 4.938 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.005173, allocations: 105.8 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.00519, allocations: 4.375 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.005209, allocations: 4.375 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.005363, allocations: 140.9 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.005371, allocations: 192 / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005383, allocations: 4.375 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00539, allocations: 4.375 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.00542, allocations: 15.81 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.005748, allocations: 168.2 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.6e-05/0.005844, allocations: 42.55 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.005863, allocations: 8.859 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.005871, allocations: 3.938 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.562e-05/0.005966, allocations: 59.55 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.005968, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001319/0.0061, allocations: 65.61 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.006157, allocations: 102.8 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.006226, allocations: 114.9 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.006247, allocations: 29.7 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.006287, allocations: 92.06 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.006308, allocations: 7.906 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.006353, allocations: 25.7 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.006447, allocations: 314.8 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.006465, allocations: 11.98 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.006524, allocations: 73.98 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.006571, allocations: 24.83 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006573, allocations: 4.031 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.238e-05/0.006666, allocations: 57.61 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.006681, allocations: 8 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.006688, allocations: 3.938 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.006702, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.006776, allocations: 8 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.00678, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.006848, allocations: 7.984 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.006858, allocations: 4 kB / 0.8423 GB, free: 10.24 MB / 0.8073 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 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.702e-05/0.006935, allocations: 113.8 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.006952, allocations: 7.984 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.006977, allocations: 7.75 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006979, allocations: 4 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006981, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006984, allocations: 0 / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.007074, allocations: 77.88 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007075, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.007094, allocations: 4 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007097, allocations: 3.938 kB / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.007102, allocations: 0 / 0.8425 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007103, allocations: 7.938 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.007105, allocations: 3.938 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.042e-05/0.007195, allocations: 73.11 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.007229, allocations: 8.203 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.007249, allocations: 8 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.00731, allocations: 11.98 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.007337, allocations: 3.938 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.007346, allocations: 7.984 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.951e-05/0.007365, allocations: 12.84 kB / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.007365, allocations: 0 / 0.8426 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001911/0.007556, allocations: 16 kB / 0.8426 GB, free: 9.824 MB / 0.8073 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,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0001001/0.007657, allocations: 80.42 kB / 0.8427 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.222e-05/0.007749, allocations: 32.78 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.007752, allocations: 4 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.007783, allocations: 12.86 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.316e-05/0.007866, allocations: 7.984 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.008294, allocations: 136.4 kB / 0.8429 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.008329, allocations: 55.36 kB / 0.8429 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.008366, allocations: 8 kB / 0.8429 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.008475, allocations: 75.33 kB / 0.843 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.008476, allocations: 0 / 0.843 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of Templates: time 0.003371/0.01185, allocations: 1.072 MB / 0.8441 GB, free: 8.344 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.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.086531064938754]