Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001425/0.001425, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001529/0.001529, allocations: 161 kB / 24.16 MB, free: 336 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.978/0.978, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.907/1.907, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.365e-05, allocations: 2.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002485/0.002508, allocations: 1.521 MB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.003039, allocations: 189.5 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.003077, allocations: 0 / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.003105, allocations: 7.922 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.00332, allocations: 29.23 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.003488, allocations: 64.61 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.566e-05/0.003584, allocations: 57.16 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.003652, allocations: 9.594 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.003733, allocations: 38.03 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.003805, allocations: 17.41 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.003833, allocations: 4 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.003844, allocations: 4 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.003868, allocations: 18.59 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.003903, allocations: 21.52 kB / 0.762 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.247e-05/0.003995, allocations: 47.09 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003997, allocations: 0 / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003998, allocations: 0 / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.004002, allocations: 5.094 kB / 0.762 GB, free: 4.645 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.0003598/0.004361, allocations: 252.9 kB / 0.7622 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.004392, allocations: 8.031 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.004425, allocations: 6.188 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.004506, allocations: 113.7 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.00452, allocations: 4.375 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.004535, allocations: 5.406 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.00466, allocations: 132.9 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004669, allocations: 4.188 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004677, allocations: 0.9062 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.004684, allocations: 1.938 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.004711, allocations: 19.86 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.004988, allocations: 164.2 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.005061, allocations: 31.86 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.00508, allocations: 12.86 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.005086, allocations: 0 / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.375e-05/0.005169, allocations: 64.91 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.00517, allocations: 0 / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001131/0.005284, allocations: 57.62 kB / 0.7628 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.005333, allocations: 102.8 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.005393, allocations: 115.5 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.00541, allocations: 30.45 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.005443, allocations: 92.02 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.005463, allocations: 16.64 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.005503, allocations: 21.7 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.005582, allocations: 323.6 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.005594, allocations: 4 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.005642, allocations: 79.34 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.005681, allocations: 20.84 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005683, allocations: 0 / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.012e-05/0.005763, allocations: 61.81 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.005774, allocations: 6.438 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.005779, allocations: 7.875 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.00579, allocations: 0 / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.005849, allocations: 11.98 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.005852, allocations: 0 / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.005905, allocations: 7.938 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.005912, allocations: 6.312 kB / 0.7637 GB, free: 2.691 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 6.678e-05/0.005979, allocations: 113.8 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.005991, allocations: 3.984 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.006009, allocations: 11.75 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006011, allocations: 0 / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006012, allocations: 0 / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006016, allocations: 1.031 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.002e-05/0.006096, allocations: 81.83 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006096, allocations: 0.9375 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.006109, allocations: 4 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006112, allocations: 0 / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006116, allocations: 0.6562 kB / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006117, allocations: 0 / 0.7639 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.00612, allocations: 10.62 kB / 0.7639 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.006197, allocations: 73.11 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.006226, allocations: 11.92 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.006244, allocations: 4.312 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.006289, allocations: 11.98 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.006317, allocations: 11.92 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006321, allocations: 0 / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.486e-05/0.006336, allocations: 11.86 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006336, allocations: 0 / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001597/0.006496, allocations: 16 kB / 0.7641 GB, free: 2.293 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 8.611e-05/0.006582, allocations: 84.41 kB / 0.7641 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.006666, allocations: 24.8 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.006671, allocations: 8 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.0067, allocations: 22.61 kB / 0.7642 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.033e-05/0.006771, allocations: 9.359 kB / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.007151, allocations: 144.4 kB / 0.7643 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.007181, allocations: 55.36 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.007214, allocations: 8.891 kB / 0.7644 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.007303, allocations: 68 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.007304, allocations: 4 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of Templates: time 0.002719/0.01002, allocations: 1.061 MB / 0.7655 GB, free: 0.832 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.037297401111573]