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.001499/0.001499, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001365/0.001365, allocations: 173 kB / 23.49 MB, free: 1.059 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.9535/0.9535, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.173/2.173, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.84e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002368/0.002397, allocations: 1.523 MB / 0.8797 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.00287, allocations: 180.7 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.002922, allocations: 0.6562 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.002955, allocations: 8.594 kB / 0.8799 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.003215, allocations: 28.94 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.003401, allocations: 55.84 kB / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.003508, allocations: 67.77 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.003608, allocations: 5.562 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.003689, allocations: 31.97 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.003769, allocations: 23.91 kB / 0.8801 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.003795, allocations: 4 kB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.003808, allocations: 11 kB / 0.8801 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.003833, allocations: 7.984 kB / 0.8801 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.00388, allocations: 27.91 kB / 0.8801 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003994, allocations: 43.88 kB / 0.8802 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.003998, allocations: 0 / 0.8802 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004, allocations: 0 / 0.8802 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.004005, allocations: 0 / 0.8802 GB, free: 4.652 MB / 0.8386 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.0005284/0.004533, allocations: 376.6 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.004588, allocations: 12.73 kB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.004651, allocations: 8.891 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.004761, allocations: 118.2 kB / 0.8807 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.004778, allocations: 8.375 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.004795, allocations: 4.375 kB / 0.8807 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.004965, allocations: 137.4 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004973, allocations: 5.531 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.004986, allocations: 4.359 kB / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.004994, allocations: 384 / 0.8808 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.005035, allocations: 19.88 kB / 0.8808 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.005449, allocations: 279.7 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.005555, allocations: 47 kB / 0.8811 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.005583, allocations: 15.77 kB / 0.8812 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.005592, allocations: 0 / 0.8812 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.005722, allocations: 76.92 kB / 0.8812 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.005724, allocations: 0 / 0.8812 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001999/0.005923, allocations: 73.88 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.005986, allocations: 106.8 kB / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.006072, allocations: 169.9 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.00609, allocations: 25.7 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.006144, allocations: 138.9 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.006169, allocations: 15.91 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.006213, allocations: 31.36 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.006334, allocations: 496.1 kB / 0.8822 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.00636, allocations: 15.92 kB / 0.8823 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.00642, allocations: 90.45 kB / 0.8823 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.006471, allocations: 27.69 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006474, allocations: 0 / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.354e-05/0.006567, allocations: 65.62 kB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.006582, allocations: 8.031 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006587, allocations: 0 / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.006601, allocations: 0 / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.006682, allocations: 15.92 kB / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006688, allocations: 0 / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.006747, allocations: 6.344 kB / 0.8825 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.006757, allocations: 8 kB / 0.8825 GB, free: 2.023 MB / 0.8386 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.827e-05/0.006835, allocations: 160.5 kB / 0.8826 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.006852, allocations: 15.88 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.006877, allocations: 7.812 kB / 0.8826 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.006881, allocations: 7.984 kB / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.006884, allocations: 0 / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006887, allocations: 0 / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.902e-05/0.006976, allocations: 124.6 kB / 0.8828 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006978, allocations: 0 / 0.8828 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.006993, allocations: 4 kB / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006996, allocations: 0 / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.007005, allocations: 3.938 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.007008, allocations: 7.922 kB / 0.8828 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007009, allocations: 4 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.007125, allocations: 96.69 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.007159, allocations: 20 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.007182, allocations: 7.938 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.007227, allocations: 7.984 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.007263, allocations: 8 kB / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.007268, allocations: 0 / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.00731, allocations: 131.2 kB / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.00731, allocations: 0 / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001405/0.007451, allocations: 12 kB / 0.8831 GB, free: 1.344 MB / 0.8386 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.0001075/0.007558, allocations: 99.25 kB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.007672, allocations: 47.83 kB / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007674, allocations: 0 / 0.8832 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.007708, allocations: 19.67 kB / 0.8832 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.007845, allocations: 9.625 kB / 0.8832 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.008385, allocations: 145.2 kB / 0.8834 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.008427, allocations: 60.89 kB / 0.8834 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.008465, allocations: 4 kB / 0.8834 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.008501, allocations: 12.5 kB / 0.8834 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of SimCode: time 1.193e-06/0.008502, allocations: 11.94 kB / 0.8834 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of Templates: time 0.003209/0.01171, allocations: 0.9814 MB / 0.8844 GB, free: 15.96 MB / 0.8542 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 -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.566567253088579]