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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 8 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8087, allocations: 153.8 MB / 1.022 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001667/0.8105, allocations: 1.172 MB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.8109, allocations: 167.6 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.8109, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.811, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.8112, allocations: 31.78 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.8114, allocations: 47.88 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.8115, allocations: 51.78 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.8116, allocations: 7.984 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.8117, allocations: 23.91 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.8118, allocations: 19.97 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.8118, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.8118, allocations: 7.938 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.8118, allocations: 11.94 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.8119, allocations: 29.7 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.637e-05/0.812, allocations: 38.03 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.812, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.345e-06/0.812, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.812, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 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.0004891/0.8125, allocations: 343.2 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8125, allocations: 8.562 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.8126, allocations: 7.906 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.8127, allocations: 167 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8128, allocations: 12 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.8128, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.8129, allocations: 80.2 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.8129, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.813, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.813, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.813, allocations: 23.98 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.8134, allocations: 276.8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.8135, allocations: 38.56 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.8136, allocations: 12.86 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.8136, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.8138, allocations: 67.42 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.8138, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002189/0.814, allocations: 77.58 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.8141, allocations: 102.8 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.8142, allocations: 105.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8142, allocations: 25.7 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.8143, allocations: 88.08 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.8143, allocations: 11.81 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.8143, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8144, allocations: 326.8 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.8145, allocations: 12 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/0.8145, allocations: 34.5 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.8146, allocations: 12 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.8146, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.552e-05/0.8147, allocations: 57.69 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8147, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.8147, allocations: 4 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.8147, allocations: 4.031 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.8148, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8148, allocations: 3.938 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.8149, allocations: 11.98 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.8149, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/0.815, allocations: 121.7 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.8151, allocations: 7.984 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.8151, allocations: 7.5 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.8151, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8151, allocations: 448 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8151, allocations: 4.188 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.8153, allocations: 181.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8153, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.8153, allocations: 3.984 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8153, allocations: 4 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8153, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8153, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8153, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.8155, allocations: 89.11 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.8155, allocations: 93.05 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.8156, allocations: 0 / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.8157, allocations: 13.52 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.8157, allocations: 7.938 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.8157, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.8158, allocations: 95.27 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8158, allocations: 3.938 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001938/0.816, allocations: 11.94 kB / 1.026 GB, free: 11.75 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001203/0.8161, allocations: 107.2 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8163, allocations: 31.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8163, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.8163, allocations: 15.94 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.8165, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.8168, allocations: 136.6 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.8171, allocations: 0.6831 MB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.8171, allocations: 4 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.8171, allocations: 11.44 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8171, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.002972/0.8201, allocations: 0.8014 MB / 1.028 GB, free: 9.945 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) 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) Reference file matches