Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.91 kB / 1.059 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3466, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002781/0.3493, allocations: 1.465 MB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.3498, allocations: 200.4 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.3498, allocations: 0 / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.3498, allocations: 7.938 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.35, allocations: 19.84 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3502, allocations: 55.17 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3503, allocations: 55.84 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.877e-05/0.3504, allocations: 11.97 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.3505, allocations: 23.88 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.3506, allocations: 31.91 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3506, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3506, allocations: 4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.3506, allocations: 11.97 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3507, allocations: 15.94 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.3508, allocations: 51.8 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3508, allocations: 3.938 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3508, allocations: 4 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3508, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 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.0005599/0.3513, allocations: 355.3 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3514, allocations: 11.97 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3514, allocations: 4.938 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.3516, allocations: 176.3 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3516, allocations: 384 / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3516, allocations: 4.375 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3517, allocations: 80.73 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3517, allocations: 192 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3518, allocations: 7.938 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3518, allocations: 4 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.3518, allocations: 12 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.3522, allocations: 280.8 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3523, allocations: 34.56 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.3523, allocations: 12.86 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.3523, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3525, allocations: 63.48 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3525, allocations: 0 / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002199/0.3527, allocations: 73.61 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.3528, allocations: 106.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.3529, allocations: 105.8 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3529, allocations: 25.7 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.353, allocations: 92.09 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.353, allocations: 7.953 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.353, allocations: 21.7 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3532, allocations: 322.8 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.3532, allocations: 7.984 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.3533, allocations: 30.58 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.3533, allocations: 33.16 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3533, allocations: 4.031 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001035/0.3534, allocations: 61.66 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3534, allocations: 9.703 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3534, allocations: 3.938 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3535, allocations: 4 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.3535, allocations: 4 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3535, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3536, allocations: 15.92 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3536, allocations: 4 kB / 1.22 GB, free: 11.16 MB / 0.9669 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 0.0001003/0.3537, allocations: 121.8 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.3538, allocations: 0 / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.3538, allocations: 7.5 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3538, allocations: 7.984 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3538, allocations: 3.938 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3538, allocations: 3.938 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3539, allocations: 169.6 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3539, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.354, allocations: 4 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.354, allocations: 0 / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.354, allocations: 7.984 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.354, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.354, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.3541, allocations: 93.2 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.3542, allocations: 81.14 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3542, allocations: 11.98 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3543, allocations: 7.984 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.3543, allocations: 11.98 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3544, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.3544, allocations: 87.34 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3544, allocations: 3.938 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001914/0.3546, allocations: 12 kB / 1.221 GB, free: 10.43 MB / 0.9669 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 0.000128/0.3547, allocations: 103.2 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3549, allocations: 27.98 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3549, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.3549, allocations: 16 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.355, allocations: 13.77 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.3554, allocations: 141.3 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3557, allocations: 0.6807 MB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.3558, allocations: 4 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3558, allocations: 19.38 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.3558, allocations: 0 / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of Templates: time 0.003386/0.3592, allocations: 0.8909 MB / 1.222 GB, free: 8.523 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.342099610716105]