Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007335/0.007335, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.001433/0.001434, allocations: 197.4 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003067/1.077, allocations: 1.458 MB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005978/1.077, allocations: 191.6 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/1.077, allocations: 1.094 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/1.077, allocations: 0.7031 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003791/1.078, allocations: 20.92 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/1.078, allocations: 62.22 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/1.078, allocations: 57.2 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/1.078, allocations: 8.844 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/1.079, allocations: 31.23 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/1.079, allocations: 18.56 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/1.079, allocations: 4.594 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/1.079, allocations: 4.406 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/1.079, allocations: 9.281 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/1.079, allocations: 26.42 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/1.079, allocations: 48.97 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.079, allocations: 0 / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.421e-06/1.079, allocations: 0.7031 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.978e-06/1.079, allocations: 5.125 kB / 1.09 GB, free: 4.25 MB / 0.8575 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.0008092/1.08, allocations: 347.9 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/1.08, allocations: 18.56 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/1.08, allocations: 3.156 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/1.08, allocations: 173.7 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.08, allocations: 1.531 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/1.08, allocations: 6.625 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/1.081, allocations: 78.56 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.081, allocations: 192 / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/1.081, allocations: 4.906 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.081, allocations: 1.609 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/1.081, allocations: 19.97 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/1.081, allocations: 274.8 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/1.081, allocations: 46.06 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/1.081, allocations: 16.19 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/1.081, allocations: 0.875 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/1.082, allocations: 63.64 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/1.082, allocations: 0 / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003102/1.082, allocations: 70.2 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/1.082, allocations: 112.5 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/1.082, allocations: 108.2 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.082, allocations: 27.02 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/1.082, allocations: 85.62 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/1.082, allocations: 11.45 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/1.082, allocations: 25.73 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/1.082, allocations: 317.5 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/1.082, allocations: 11.36 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/1.082, allocations: 35.27 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/1.083, allocations: 25.72 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.083, allocations: 0 / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/1.083, allocations: 63.97 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/1.083, allocations: 4.625 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.083, allocations: 1.812 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.083, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/1.083, allocations: 11.02 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.083, allocations: 1.125 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/1.083, allocations: 20.48 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/1.083, allocations: 5.531 kB / 1.092 GB, free: 2.336 MB / 0.8575 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 8.626e-05/1.083, allocations: 118.1 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/1.083, allocations: 3.203 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/1.083, allocations: 9.391 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.083, allocations: 1.219 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.083, allocations: 0 / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.083, allocations: 0 / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/1.083, allocations: 168.6 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.083, allocations: 4.938 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/1.083, allocations: 3.562 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.083, allocations: 0.5156 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/1.083, allocations: 5.984 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.083, allocations: 0 / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.083, allocations: 0.9688 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/1.083, allocations: 97.97 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/1.083, allocations: 87.33 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/1.084, allocations: 5.75 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/1.084, allocations: 8.922 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/1.084, allocations: 2.781 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/1.084, allocations: 5.859 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.465e-05/1.084, allocations: 83.59 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.084, allocations: 0 / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002237/1.084, allocations: 14.41 kB / 1.092 GB, free: 1.73 MB / 0.8575 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.0001101/1.084, allocations: 103.1 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001335/1.084, allocations: 41.23 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.084, allocations: 0.5625 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/1.084, allocations: 15.05 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/1.084, allocations: 7.516 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/1.085, allocations: 121.5 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/1.085, allocations: 0.6795 MB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.401e-05/1.085, allocations: 13.66 kB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/1.085, allocations: 14.64 kB / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/1.085, allocations: 0 / 1.093 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of Templates: time 0.003852/1.089, allocations: 0.9024 MB / 1.094 GB, free: 0.7031 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches