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.001878/0.001878, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002398/0.002398, allocations: 189.2 kB / 22.23 MB, free: 5.137 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.475/1.475, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001987/0.001987, allocations: 63.89 kB / 1.061 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9078, allocations: 160.8 MB / 1.218 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003315/0.9111, allocations: 1.483 MB / 1.22 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.9117, allocations: 192.5 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.9117, allocations: 1.094 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.9118, allocations: 3.938 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.912, allocations: 21.31 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.9123, allocations: 56.55 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.9124, allocations: 61.98 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9125, allocations: 6.531 kB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.9126, allocations: 27.52 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.9127, allocations: 18.58 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.9127, allocations: 4.094 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.9127, allocations: 4.125 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.9128, allocations: 14.22 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.9128, allocations: 26.77 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.913, allocations: 53.31 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.913, allocations: 4 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.913, allocations: 0 / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.913, allocations: 5.094 kB / 1.22 GB, free: 2.23 MB / 0.92 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.0006705/0.9137, allocations: 351.2 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.9137, allocations: 8.875 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.9138, allocations: 3.562 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.9139, allocations: 171.1 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.914, allocations: 2.344 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.914, allocations: 2.031 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.9142, allocations: 83.34 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.9142, allocations: 4.125 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.9142, allocations: 5.125 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.9142, allocations: 0 / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.9143, allocations: 21.11 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.9147, allocations: 269.8 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.9149, allocations: 46.03 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.9149, allocations: 13.83 kB / 1.221 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.9149, allocations: 1.188 kB / 1.221 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.9151, allocations: 58.73 kB / 1.221 GB, free: 1.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9151, allocations: 0 / 1.221 GB, free: 1.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002415/0.9154, allocations: 74.56 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.9155, allocations: 112.4 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.9156, allocations: 109.4 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.9156, allocations: 27.2 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.9156, allocations: 85.28 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.9157, allocations: 13.05 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.9157, allocations: 23.55 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9159, allocations: 320 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.02e-05/0.9159, allocations: 13.56 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.9159, allocations: 36.31 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.916, allocations: 28.89 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.916, allocations: 0 / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.9161, allocations: 64.52 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9161, allocations: 4.562 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.9161, allocations: 1.125 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9161, allocations: 0 / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.9162, allocations: 6 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.9162, allocations: 0 / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.9163, allocations: 14.05 kB / 1.222 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.9163, allocations: 1.312 kB / 1.222 GB, free: 260 kB / 0.92 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.0001083/0.9164, allocations: 121.6 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.9165, allocations: 6.016 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.9165, allocations: 8.812 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.9165, allocations: 1.125 kB / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9165, allocations: 0 / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9165, allocations: 0 / 1.222 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.9167, allocations: 175 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9167, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.9167, allocations: 10.22 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.9167, allocations: 1.031 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.9167, allocations: 5.062 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9167, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9167, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.9169, allocations: 99.25 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.917, allocations: 84.38 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.917, allocations: 1.062 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.9171, allocations: 13.2 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.9171, allocations: 6.125 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.9171, allocations: 1.031 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.767e-05/0.9172, allocations: 84.7 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9172, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002133/0.9174, allocations: 13.94 kB / 1.223 GB, free: 15.61 MB / 0.9356 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.0001449/0.9176, allocations: 102.3 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.9177, allocations: 36.42 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9177, allocations: 3.938 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.9178, allocations: 12.88 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.9179, allocations: 17.16 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.9183, allocations: 121.2 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.9186, allocations: 0.6794 MB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.9187, allocations: 4.031 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.9187, allocations: 15.08 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9187, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.004471/0.9232, allocations: 0.9232 MB / 1.225 GB, free: 14.2 MB / 0.9356 GB " [Timeout remaining time 299] 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: 9.051757982000709]