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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001032/0.001032, allocations: 98.56 kB / 16.02 MB, free: 76 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.001442/0.001442, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.873/2.873, allocations: 462.7 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003699, allocations: 12.38 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3595, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001817/0.3613, allocations: 1.19 MB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00045/0.3618, allocations: 171.5 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.3619, allocations: 0 / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.3619, allocations: 3.984 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3622, allocations: 31.05 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3624, allocations: 47.92 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3625, allocations: 55.7 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3626, allocations: 7.984 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.3627, allocations: 23.92 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.3628, allocations: 19.91 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3628, allocations: 4 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.3628, allocations: 4 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3629, allocations: 15.92 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.3629, allocations: 41.64 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.363, allocations: 36.14 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.363, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.363, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.363, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.8106 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.0005205/0.3636, allocations: 339.5 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3636, allocations: 11.97 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3637, allocations: 12.84 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3638, allocations: 176.3 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3639, allocations: 384 / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3639, allocations: 4.375 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3641, allocations: 72.75 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3641, allocations: 192 / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3641, allocations: 7.938 kB / 1.062 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3641, allocations: 4 kB / 1.062 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.3642, allocations: 23.97 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.3646, allocations: 268.8 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.779e-05/0.3647, allocations: 46.44 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.455e-05/0.3647, allocations: 16.86 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.3648, allocations: 0 / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.3649, allocations: 67.48 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3649, allocations: 0 / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002152/0.3652, allocations: 73.61 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.3652, allocations: 102.8 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.3653, allocations: 105.8 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3654, allocations: 29.7 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.3654, allocations: 88.05 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.3654, allocations: 11.84 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.3655, allocations: 17.72 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3656, allocations: 318.8 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.3656, allocations: 8 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.3657, allocations: 34.56 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.3657, allocations: 25.23 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3657, allocations: 3.938 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.3658, allocations: 65.72 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3659, allocations: 8 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3659, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3659, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.641e-05/0.366, allocations: 7.984 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.366, allocations: 4 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3661, allocations: 4 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3661, allocations: 7.984 kB / 1.063 GB, free: 1.16 MB / 0.8106 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.375e-05/0.3662, allocations: 125.8 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3662, allocations: 3.906 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.3662, allocations: 7.5 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3663, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3663, allocations: 3.938 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3663, allocations: 0 / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.3664, allocations: 177.5 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3664, allocations: 0 / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.3664, allocations: 4 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3665, allocations: 3.938 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3665, allocations: 4 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3665, allocations: 4 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3665, allocations: 0 / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.3666, allocations: 93.05 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.3667, allocations: 89 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3667, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3668, allocations: 13.95 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3669, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3669, allocations: 8 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.3669, allocations: 83.27 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3669, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002062/0.3672, allocations: 16 kB / 1.063 GB, free: 444 kB / 0.8106 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.0001201/0.3673, allocations: 107.4 kB / 1.064 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.3674, allocations: 28.23 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3674, allocations: 0 / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.3675, allocations: 19.98 kB / 1.064 GB, free: 276 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3676, allocations: 7.938 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.368, allocations: 162.2 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3682, allocations: 0.6809 MB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.3683, allocations: 7.438 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3683, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.002394/0.3707, allocations: 0.8363 MB / 1.065 GB, free: 14.53 MB / 0.8262 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=480 -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/jenkins1/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