Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001811/0.001811, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.114/3.114, allocations: 482.6 MB / 0.7549 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 65.12 kB / 0.9241 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3179, allocations: 162.3 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002704/0.3207, allocations: 1.456 MB / 1.084 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.3211, allocations: 187.4 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.3212, allocations: 4 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.3212, allocations: 7.922 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.3214, allocations: 11.92 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3216, allocations: 66.95 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.3217, allocations: 55.8 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.3218, allocations: 11.98 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.3219, allocations: 19.98 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.322, allocations: 27.91 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.322, allocations: 4 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.322, allocations: 4 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.3221, allocations: 15.92 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.3221, allocations: 11.94 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3222, allocations: 56.08 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3222, allocations: 0 / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3222, allocations: 4 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3223, allocations: 0 / 1.084 GB, free: 11.02 MB / 0.8419 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.000575/0.3228, allocations: 343.5 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3229, allocations: 8.031 kB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3229, allocations: 8.844 kB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3231, allocations: 180.2 kB / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3231, allocations: 384 / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3231, allocations: 4.375 kB / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3233, allocations: 76.81 kB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3233, allocations: 192 / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3233, allocations: 7.938 kB / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3233, allocations: 0 / 1.085 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.3234, allocations: 15.94 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3238, allocations: 272.9 kB / 1.085 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.3239, allocations: 38.56 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.3239, allocations: 20.8 kB / 1.085 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3239, allocations: 0 / 1.085 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3241, allocations: 71.42 kB / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3241, allocations: 0 / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002275/0.3244, allocations: 73.58 kB / 1.086 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.3245, allocations: 110.8 kB / 1.086 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.3246, allocations: 106 kB / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3246, allocations: 33.7 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.3247, allocations: 84.12 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3247, allocations: 15.75 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3247, allocations: 21.7 kB / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3249, allocations: 318.8 kB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.3249, allocations: 19.92 kB / 1.086 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.325, allocations: 34.64 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.3251, allocations: 28.84 kB / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3251, allocations: 0 / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001191/0.3252, allocations: 61.69 kB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3252, allocations: 4 kB / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3252, allocations: 0 / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3252, allocations: 0 / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.3253, allocations: 11.94 kB / 1.086 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3253, allocations: 4.031 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3254, allocations: 7.984 kB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3255, allocations: 0 / 1.086 GB, free: 8.816 MB / 0.8419 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 9.351e-05/0.3256, allocations: 121.8 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.3256, allocations: 4.188 kB / 1.086 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.3256, allocations: 11.47 kB / 1.086 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3256, allocations: 0 / 1.086 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3256, allocations: 0 / 1.086 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3256, allocations: 4 kB / 1.086 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3258, allocations: 177.5 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3258, allocations: 0 / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.3258, allocations: 3.984 kB / 1.087 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3258, allocations: 4 kB / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3259, allocations: 0 / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3259, allocations: 192 / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3259, allocations: 4 kB / 1.087 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.326, allocations: 93 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.3261, allocations: 89.09 kB / 1.087 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3261, allocations: 4 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3262, allocations: 7.984 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.3263, allocations: 11.86 kB / 1.087 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3263, allocations: 4 kB / 1.087 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.3264, allocations: 83.28 kB / 1.087 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3264, allocations: 0 / 1.087 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002008/0.3266, allocations: 12 kB / 1.087 GB, free: 8.098 MB / 0.8419 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.0001357/0.3267, allocations: 111.2 kB / 1.087 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3268, allocations: 31.92 kB / 1.087 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3269, allocations: 0 / 1.087 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.3269, allocations: 16 kB / 1.087 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.3271, allocations: 7.875 kB / 1.087 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3274, allocations: 129.5 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3278, allocations: 0.6807 MB / 1.088 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.3278, allocations: 8 kB / 1.088 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.3279, allocations: 7.438 kB / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3279, allocations: 0 / 1.088 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of Templates: time 0.003312/0.3312, allocations: 0.8815 MB / 1.089 GB, free: 6.203 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches