Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009775/0.0009775, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001027/0.001027, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.9819/0.9819, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.951/1.951, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.742e-05, allocations: 6.25 kB / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001777/0.001794, allocations: 1.519 MB / 0.7615 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003331/0.002128, allocations: 199.5 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.00216, allocations: 0.7812 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.002185, allocations: 0 / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.002371, allocations: 24.08 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.002499, allocations: 59.8 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.002586, allocations: 62.86 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.002652, allocations: 12.64 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.002723, allocations: 34.48 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.00279, allocations: 17.28 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.002811, allocations: 8 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.002821, allocations: 5.25 kB / 0.7619 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.002845, allocations: 21.5 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.002873, allocations: 13.3 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.072e-05/0.002954, allocations: 58.73 kB / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002956, allocations: 0 / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.62e-07/0.002957, allocations: 0 / 0.762 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.00296, allocations: 0 / 0.762 GB, free: 4.598 MB / 0.7136 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.0003315/0.003291, allocations: 246.2 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.003322, allocations: 12.03 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.00335, allocations: 10.17 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.24e-05/0.003422, allocations: 105.8 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.003435, allocations: 4.375 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.003448, allocations: 4.375 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.00356, allocations: 141.8 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003567, allocations: 192 / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.003576, allocations: 4.906 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.00358, allocations: 384 / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.0036, allocations: 9.125 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.003841, allocations: 168.3 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.00391, allocations: 43.25 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.003924, allocations: 10.08 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.00393, allocations: 0 / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/0.004008, allocations: 55.48 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.004009, allocations: 0.5312 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001009/0.00411, allocations: 61.56 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.004157, allocations: 107.5 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.004206, allocations: 111 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.00422, allocations: 30.45 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.004249, allocations: 92.06 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.004265, allocations: 13.7 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.004296, allocations: 25.7 kB / 0.7632 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.004361, allocations: 314.8 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.004373, allocations: 8 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.004412, allocations: 78.66 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.004445, allocations: 24.83 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004447, allocations: 1.281 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.645e-05/0.004503, allocations: 57.77 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.004514, allocations: 10.19 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.004519, allocations: 7.922 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.004529, allocations: 7.188 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.004582, allocations: 8 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.004584, allocations: 0 / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.004627, allocations: 7.984 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.004633, allocations: 4 kB / 0.7637 GB, free: 2.648 MB / 0.7136 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.167e-05/0.004684, allocations: 113.8 kB / 0.7638 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.004691, allocations: 0 / 0.7638 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.004708, allocations: 14.78 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004711, allocations: 3.984 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.004712, allocations: 0 / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.004715, allocations: 0 / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.099e-05/0.004776, allocations: 81.78 kB / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004777, allocations: 0 / 0.7639 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.004789, allocations: 7.984 kB / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00479, allocations: 0 / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.004794, allocations: 1.5 kB / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004795, allocations: 0 / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.004797, allocations: 3.938 kB / 0.7639 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.972e-05/0.004856, allocations: 73.12 kB / 0.764 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.004881, allocations: 15.92 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.004895, allocations: 1.719 kB / 0.764 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.004932, allocations: 8 kB / 0.764 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.004955, allocations: 11.91 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.00496, allocations: 5.281 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.344e-05/0.004973, allocations: 12.84 kB / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004973, allocations: 0 / 0.7641 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.801e-05/0.005071, allocations: 19.94 kB / 0.7641 GB, free: 2.242 MB / 0.7136 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 6.967e-05/0.005141, allocations: 77.7 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.005208, allocations: 33.5 kB / 0.7642 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.00521, allocations: 0 / 0.7642 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.005235, allocations: 22.16 kB / 0.7642 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.018e-05/0.005295, allocations: 9.406 kB / 0.7642 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.005605, allocations: 132.5 kB / 0.7643 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.638e-05/0.005632, allocations: 61.78 kB / 0.7644 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.00566, allocations: 8 kB / 0.7644 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.00573, allocations: 67.34 kB / 0.7645 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.005731, allocations: 3.938 kB / 0.7645 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.002459/0.00819, allocations: 1.058 MB / 0.7655 GB, free: 0.7969 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.109441861975938]