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.001153/0.001153, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001213/0.001213, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9421/0.9421, allocations: 177.1 MB / 204.2 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.851/1.851, allocations: 377.8 MB / 0.6236 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.122e-06/1.122e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.698e-06/1.082e-05, allocations: 3.094 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001585/0.001596, allocations: 1.511 MB / 0.813 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.001863, allocations: 189 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.001884, allocations: 0 / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.001899, allocations: 0 / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.00202, allocations: 36.8 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.00212, allocations: 55.84 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.185e-05/0.002182, allocations: 69.27 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.002224, allocations: 0 / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.002272, allocations: 35.97 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.00232, allocations: 29.39 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.002335, allocations: 4 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-06/0.002344, allocations: 4 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.002363, allocations: 8 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.002392, allocations: 29.47 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 6.63e-05/0.002458, allocations: 39.89 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.002459, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00246, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.002463, allocations: 0 / 0.8135 GB, free: 15.69 MB / 0.7761 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.0002939/0.002756, allocations: 389.5 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.34e-05/0.00278, allocations: 8.031 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.002805, allocations: 5.469 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.29e-05/0.002868, allocations: 113.1 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002877, allocations: 8.359 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.002889, allocations: 13.36 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.003002, allocations: 141.3 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-06/0.003006, allocations: 0.875 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003014, allocations: 4.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.003018, allocations: 0.9062 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.945e-05/0.003048, allocations: 23.91 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.003302, allocations: 269.2 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.181e-05/0.003374, allocations: 50.98 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.003393, allocations: 16.78 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-06/0.003397, allocations: 0 / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.003468, allocations: 73.03 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 6.52e-07/0.003468, allocations: 0.9375 kB / 0.8146 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001099/0.003578, allocations: 73.61 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.003615, allocations: 111.7 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.003672, allocations: 165.9 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.003684, allocations: 26.55 kB / 0.8149 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.003719, allocations: 134.8 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.003735, allocations: 12.83 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.003768, allocations: 35.34 kB / 0.8151 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.003872, allocations: 0.4884 MB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.003888, allocations: 9.281 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.003944, allocations: 90.45 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.00398, allocations: 23.69 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.003981, allocations: 4.781 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.571e-05/0.004047, allocations: 69.58 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.004056, allocations: 8.875 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/0.004059, allocations: 0 / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.004065, allocations: 0 / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.004109, allocations: 13.55 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.004111, allocations: 0.5 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.004153, allocations: 4 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.004161, allocations: 7.984 kB / 0.8158 GB, free: 13.07 MB / 0.7761 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.608e-05/0.004227, allocations: 165.7 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.004238, allocations: 11.88 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.004254, allocations: 14.97 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004255, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004257, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00426, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.487e-05/0.004325, allocations: 124.6 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004326, allocations: 0 / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.004336, allocations: 7.984 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004337, allocations: 0 / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.004342, allocations: 3.938 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.004343, allocations: 0.5 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004344, allocations: 5.875 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.00442, allocations: 96.44 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.004459, allocations: 15.92 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.004473, allocations: 3.938 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.004509, allocations: 7.984 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.004528, allocations: 8.594 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.004532, allocations: 3.984 kB / 0.8163 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.004564, allocations: 129.7 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004564, allocations: 0 / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000116/0.00468, allocations: 15.95 kB / 0.8164 GB, free: 12.41 MB / 0.7761 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.263e-05/0.004742, allocations: 111.2 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.004817, allocations: 39.66 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.004818, allocations: 2.969 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.004842, allocations: 19.88 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.044e-05/0.004932, allocations: 14.62 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.005251, allocations: 134.4 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.471e-05/0.005275, allocations: 59.34 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.005297, allocations: 4 kB / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.005319, allocations: 13.44 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.005319, allocations: 0 / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.00217/0.007489, allocations: 1.065 MB / 0.8178 GB, free: 10.97 MB / 0.7761 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: 4.95493254205212]