Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.00136/0.00136, allocations: 80.75 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.001502/0.001502, allocations: 181 kB / 23.35 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.8997/0.8997, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.386/2.386, allocations: 438.8 MB / 0.6826 GB, free: 13.62 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.723e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001883/0.001901, allocations: 1.521 MB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.002258, allocations: 183.2 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.002296, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.002322, allocations: 3.938 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.002526, allocations: 27.78 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.002673, allocations: 55.8 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.002756, allocations: 63.84 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.002829, allocations: 11.97 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.002909, allocations: 35.92 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.002982, allocations: 19.95 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.003006, allocations: 4 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.003018, allocations: 4 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.003042, allocations: 15.98 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.003072, allocations: 15.94 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.995e-05/0.003152, allocations: 43.88 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003153, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003154, allocations: 4 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.474e-06/0.003156, allocations: 0 / 0.8405 GB, free: 12.2 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.000329/0.003485, allocations: 256.8 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.003515, allocations: 8.625 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.003547, allocations: 20.8 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.003625, allocations: 105.8 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.003636, allocations: 384 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.003649, allocations: 4.375 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003773, allocations: 140.9 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003779, allocations: 192 / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.003788, allocations: 4.359 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003794, allocations: 4.375 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.003817, allocations: 15.88 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.004083, allocations: 168.2 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.004154, allocations: 30.58 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.004171, allocations: 12.94 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.004178, allocations: 4 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.041e-05/0.004259, allocations: 59.33 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.00426, allocations: 0 / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001069/0.004367, allocations: 61.62 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.004417, allocations: 102.8 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.004468, allocations: 114.8 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.004484, allocations: 33.64 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.004513, allocations: 84.08 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.004533, allocations: 23.88 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.004562, allocations: 17.7 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.004633, allocations: 318.8 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.004644, allocations: 4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.004687, allocations: 81.97 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.004719, allocations: 24.83 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004721, allocations: 4.031 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.459e-05/0.004776, allocations: 49.69 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.00479, allocations: 7.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.004795, allocations: 3.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.004806, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.004859, allocations: 11.98 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004861, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.004906, allocations: 9.875 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.004913, allocations: 7.984 kB / 0.8423 GB, free: 10.22 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 5.695e-05/0.004969, allocations: 113.8 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.004979, allocations: 11.92 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.004996, allocations: 11.75 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004998, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.004999, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.005004, allocations: 3.984 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.23e-05/0.005066, allocations: 69.89 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005067, allocations: 0 / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.005077, allocations: 4 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.005077, allocations: 0 / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.005082, allocations: 3.984 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.005084, allocations: 4.5 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.005086, allocations: 11.88 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.024e-05/0.005146, allocations: 73.12 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.005171, allocations: 15.88 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.005184, allocations: 0 / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.005216, allocations: 4 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.005242, allocations: 15.92 kB / 0.8426 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005244, allocations: 0 / 0.8426 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.266e-05/0.005257, allocations: 12.84 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005257, allocations: 0 / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001042/0.005361, allocations: 12 kB / 0.8426 GB, free: 9.809 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 7.297e-05/0.005434, allocations: 80.42 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.005508, allocations: 40.77 kB / 0.8427 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.005511, allocations: 0 / 0.8427 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.005533, allocations: 12.86 kB / 0.8427 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.04e-05/0.005593, allocations: 11.98 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.005927, allocations: 132.4 kB / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.661e-05/0.005953, allocations: 59.34 kB / 0.8429 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.005984, allocations: 12 kB / 0.8429 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.006058, allocations: 63.34 kB / 0.843 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.006059, allocations: 0 / 0.843 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of Templates: time 0.002387/0.008446, allocations: 1.08 MB / 0.8441 GB, free: 8.316 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.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.16190060088411]