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.001009/0.001009, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001029/0.001029, allocations: 177 kB / 23.36 MB, free: 1.129 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.98/0.98, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.519/2.519, allocations: 438.8 MB / 0.6827 GB, free: 13.65 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.463e-06/1.463e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.808e-05, allocations: 8.219 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002856/0.002884, allocations: 1.564 MB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004657/0.00335, allocations: 183.2 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.003392, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.003423, allocations: 7.938 kB / 0.8404 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.003657, allocations: 27.78 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.003844, allocations: 55.8 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.003952, allocations: 67.81 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.004026, allocations: 8 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.004111, allocations: 35.91 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.004198, allocations: 19.97 kB / 0.8406 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.004466, allocations: 4 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.00448, allocations: 8 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.004507, allocations: 11.92 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.004546, allocations: 23.97 kB / 0.8406 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.004646, allocations: 43.83 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004648, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004649, allocations: 0 / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004654, allocations: 0 / 0.8406 GB, free: 12.13 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.0004131/0.005067, allocations: 256.9 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.005105, allocations: 8.625 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.005151, allocations: 8.922 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.785e-05/0.005249, allocations: 109.7 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.005268, allocations: 12.36 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.005282, allocations: 4.375 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.005425, allocations: 132.9 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.005434, allocations: 192 / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.005444, allocations: 384 / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.00545, allocations: 384 / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.005485, allocations: 11.94 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.005805, allocations: 176.2 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.005894, allocations: 38.55 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.005916, allocations: 12.86 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.005922, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.006028, allocations: 63.48 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.00603, allocations: 0 / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.000134/0.006164, allocations: 57.61 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.006221, allocations: 106.8 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.006288, allocations: 102.7 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.006308, allocations: 33.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.006348, allocations: 92.05 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.006371, allocations: 11.91 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.006417, allocations: 25.7 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.006514, allocations: 314.8 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006532, allocations: 4 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.006589, allocations: 85.89 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.006635, allocations: 20.84 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006636, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.648e-05/0.006723, allocations: 57.67 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.006737, allocations: 8.031 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.006743, allocations: 8.375 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.006757, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.006831, allocations: 11.94 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006834, allocations: 0 / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.006904, allocations: 14.33 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.006911, allocations: 0 / 0.8424 GB, free: 10.16 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.839e-05/0.00699, allocations: 113.8 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.007005, allocations: 7.984 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.007026, allocations: 7.75 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00703, allocations: 8 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.007032, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007035, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.007122, allocations: 77.88 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007123, allocations: 0 / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.007143, allocations: 4 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007145, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.00715, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007152, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.007154, allocations: 3.938 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.007242, allocations: 73.05 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.007276, allocations: 19.89 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.007296, allocations: 4 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.007352, allocations: 7.984 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.007378, allocations: 3.938 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.007384, allocations: 3.984 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.783e-05/0.007402, allocations: 16.84 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007402, allocations: 0 / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001817/0.007584, allocations: 12 kB / 0.8427 GB, free: 9.75 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 9.749e-05/0.007681, allocations: 80.67 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.007775, allocations: 40.78 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.007779, allocations: 4 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.007813, allocations: 12.86 kB / 0.8428 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.008e-05/0.007903, allocations: 7.984 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.008345, allocations: 132.5 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.008381, allocations: 59.34 kB / 0.843 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.769e-05/0.008418, allocations: 4 kB / 0.843 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.008522, allocations: 75.28 kB / 0.8431 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.008523, allocations: 0 / 0.8431 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of Templates: time 0.002531/0.01105, allocations: 1.064 MB / 0.8441 GB, free: 8.266 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 -s gbode -gbm=radauIIA3 -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.435291058383882]