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.001015/0.001015, allocations: 80.88 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.0009929/0.0009929, allocations: 181 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.9892/0.9892, allocations: 177.2 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.473/2.473, allocations: 438.8 MB / 0.6827 GB, free: 13.55 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.874e-06/1.874e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.918e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002006/0.002025, allocations: 1.553 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.002355, allocations: 191.2 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.00239, allocations: 0 / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.002416, allocations: 7.922 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.002606, allocations: 23.8 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.002738, allocations: 59.78 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.002822, allocations: 67.83 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.057e-05/0.002893, allocations: 4 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.002965, allocations: 35.91 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.003029, allocations: 15.97 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.003048, allocations: 8 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-06/0.003058, allocations: 4 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.003081, allocations: 19.92 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.003109, allocations: 19.97 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.315e-05/0.003182, allocations: 39.89 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003184, allocations: 0 / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003185, allocations: 4 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003189, allocations: 0 / 0.8406 GB, free: 12.04 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.0003192/0.003508, allocations: 252.8 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.003539, allocations: 16.56 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.003567, allocations: 4.938 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.003649, allocations: 125.7 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.003663, allocations: 384 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.003678, allocations: 8.375 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.003791, allocations: 128.9 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003798, allocations: 192 / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.003812, allocations: 4.359 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.003818, allocations: 4.375 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.00384, allocations: 11.92 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.00409, allocations: 172.2 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.93e-05/0.00415, allocations: 34.58 kB / 0.8414 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.004163, allocations: 8.859 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-06/0.004168, allocations: 4 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.361e-05/0.004252, allocations: 71.47 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.004253, allocations: 0 / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 9.406e-05/0.004347, allocations: 53.62 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.004392, allocations: 102.8 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.97e-05/0.004441, allocations: 106.7 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.004456, allocations: 29.7 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.004485, allocations: 92.06 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.004501, allocations: 7.906 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.004535, allocations: 29.69 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.004605, allocations: 314.8 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.004617, allocations: 11.94 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.004659, allocations: 85.95 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.004691, allocations: 24.84 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.004693, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.24e-05/0.004745, allocations: 45.69 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.004762, allocations: 8 kB / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004767, allocations: 3.938 kB / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.004778, allocations: 0 / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.004831, allocations: 15.92 kB / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.004834, allocations: 0 / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.004879, allocations: 10.53 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.004885, allocations: 4 kB / 0.8424 GB, free: 10.07 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.342e-05/0.004938, allocations: 121.8 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.004945, allocations: 0.5 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.004964, allocations: 15.75 kB / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004966, allocations: 0 / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.004968, allocations: 0 / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.00497, allocations: 0 / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.808e-05/0.005038, allocations: 77.88 kB / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005039, allocations: 0 / 0.8426 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.005051, allocations: 8 kB / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.005052, allocations: 0 / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005057, allocations: 0 / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.005058, allocations: 0 / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.005061, allocations: 7.922 kB / 0.8426 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.005127, allocations: 77.06 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.005151, allocations: 11.89 kB / 0.8427 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.005166, allocations: 3.984 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.005201, allocations: 4 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.005289, allocations: 11.92 kB / 0.8427 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.005301, allocations: 0 / 0.8427 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.005342, allocations: 20.84 kB / 0.8427 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005342, allocations: 0 / 0.8427 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001261/0.005468, allocations: 12 kB / 0.8427 GB, free: 9.656 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.000104/0.005572, allocations: 80.41 kB / 0.8428 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.824e-05/0.005671, allocations: 32.8 kB / 0.8428 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.005674, allocations: 0 / 0.8428 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.005702, allocations: 16.84 kB / 0.8428 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.716e-05/0.005779, allocations: 4 kB / 0.8428 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.006163, allocations: 143.9 kB / 0.843 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.006193, allocations: 63.33 kB / 0.843 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.006226, allocations: 4 kB / 0.843 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.006305, allocations: 67.34 kB / 0.8431 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of SimCode: time 1.032e-06/0.006306, allocations: 0 / 0.8431 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of Templates: time 0.002669/0.008975, allocations: 1.077 MB / 0.8442 GB, free: 8.172 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 -s gbode -gbm=radauIIA3 -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.348853817675263]