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.001855/0.001855, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 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.002296/0.002296, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.633/1.633, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.943/2.943, allocations: 0.49 GB / 0.7923 GB, free: 1.465 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 59.91 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9711/0.9735, allocations: 176.1 MB / 1.322 GB, free: 25.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002376/0.9758, allocations: 1.479 MB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004142/0.9763, allocations: 190.1 kB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.9763, allocations: 2.75 kB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.9763, allocations: 3.938 kB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.9766, allocations: 28.02 kB / 1.324 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.9767, allocations: 55.39 kB / 1.324 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.9768, allocations: 59.83 kB / 1.324 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.9769, allocations: 3 kB / 1.324 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.618e-05/0.977, allocations: 22.7 kB / 1.324 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.9771, allocations: 28.2 kB / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.9771, allocations: 5.531 kB / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.9771, allocations: 5.344 kB / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.9771, allocations: 14.11 kB / 1.324 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.9772, allocations: 24.89 kB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.9773, allocations: 49.88 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9773, allocations: 0 / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9773, allocations: 4 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.9773, allocations: 0 / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005017/0.9778, allocations: 355.5 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.9778, allocations: 12.77 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.9779, allocations: 7.766 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.978, allocations: 163.4 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.978, allocations: 4.359 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.978, allocations: 3.312 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.9781, allocations: 85.77 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9782, allocations: 192 / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.9782, allocations: 3.938 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9782, allocations: 2.812 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.9782, allocations: 12.94 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.9785, allocations: 283.3 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.914e-05/0.9786, allocations: 41.52 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.9787, allocations: 14.55 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.9787, allocations: 0 / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.9788, allocations: 61.8 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.9788, allocations: 0 / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000201/0.979, allocations: 78.05 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.9791, allocations: 106.8 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.9791, allocations: 106.1 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.9791, allocations: 25.7 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.9792, allocations: 91.03 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.9792, allocations: 10.95 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.9792, allocations: 20.02 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.9793, allocations: 325 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.9793, allocations: 5.188 kB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.9793, allocations: 39.28 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.9794, allocations: 27.52 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.9794, allocations: 384 / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.302e-05/0.9795, allocations: 60.31 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9795, allocations: 7.875 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9795, allocations: 0 / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.9795, allocations: 0 / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.9796, allocations: 8.812 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9796, allocations: 0 / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.9797, allocations: 21.06 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.9797, allocations: 6.75 kB / 1.326 GB, free: 22.08 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (5): * Single equations (assignments): 5 * 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.14e-05/0.9798, allocations: 116.6 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.9798, allocations: 2.906 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.9798, allocations: 10.67 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.9798, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9798, allocations: 2.938 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9798, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.352e-05/0.9799, allocations: 176.3 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.9799, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.9799, allocations: 2.906 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9799, allocations: 3.938 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.9799, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9799, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9799, allocations: 6.281 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.98, allocations: 93.12 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.9801, allocations: 83.38 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.9801, allocations: 11.38 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9802, allocations: 9.234 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.9802, allocations: 2.844 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.9802, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.9803, allocations: 96.7 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9803, allocations: 0 / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001862/0.9805, allocations: 11.38 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.516e-05/0.9806, allocations: 106.8 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.9807, allocations: 28.22 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9807, allocations: 0 / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.9807, allocations: 15.66 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.9809, allocations: 17.14 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.9812, allocations: 152.3 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.9813, allocations: 0.6773 MB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.9813, allocations: 10.34 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9813, allocations: 4 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of Templates: time 0.002403/0.9837, allocations: 0.829 MB / 1.328 GB, free: 20.44 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.58820230299898]