Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, 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.002194/0.002194, allocations: 191.1 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002775/0.3192, allocations: 1.462 MB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004634/0.3197, allocations: 187.4 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.3197, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3198, allocations: 3.938 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.32, allocations: 23.84 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3202, allocations: 51.42 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.528e-05/0.3203, allocations: 63.78 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3205, allocations: 4 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.3205, allocations: 27.97 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.3206, allocations: 19.92 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3206, allocations: 7.938 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.3207, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.3207, allocations: 15.92 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.3208, allocations: 23.91 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3209, allocations: 48.09 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3209, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3209, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3209, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 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.0005668/0.3215, allocations: 343.5 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3215, allocations: 12.03 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3216, allocations: 0.9375 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3217, allocations: 176.2 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3217, allocations: 384 / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.3218, allocations: 12.31 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3219, allocations: 76.75 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3219, allocations: 192 / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.322, allocations: 7.938 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.322, allocations: 0 / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.322, allocations: 15.98 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.3224, allocations: 276.9 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.3225, allocations: 42.5 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.3226, allocations: 16.86 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3226, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.3228, allocations: 63.48 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.895e-06/0.3228, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.323, allocations: 89.45 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.3231, allocations: 106.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.3232, allocations: 105.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3232, allocations: 25.7 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.3232, allocations: 80.14 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3233, allocations: 15.84 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3233, allocations: 21.7 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3234, allocations: 318.8 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.3235, allocations: 16 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.3235, allocations: 34.75 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.3236, allocations: 25.23 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3236, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.784e-05/0.3237, allocations: 69.53 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3237, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3237, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3237, allocations: 3.984 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.3238, allocations: 12.03 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3238, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3239, allocations: 9.547 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3239, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 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.493e-05/0.324, allocations: 113.8 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.3241, allocations: 7.984 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.3241, allocations: 7.5 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3241, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3241, allocations: 4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3241, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3242, allocations: 169.6 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3242, allocations: 3.984 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.3243, allocations: 7.938 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3243, allocations: 3.938 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3243, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3243, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3243, allocations: 0 / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3244, allocations: 101 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3245, allocations: 81.05 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3245, allocations: 7.984 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3246, allocations: 4 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3247, allocations: 7.984 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3247, allocations: 4 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.3247, allocations: 87.33 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3247, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001951/0.3249, allocations: 16 kB / 1.073 GB, free: 5.551 MB / 0.8262 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.0001279/0.3251, allocations: 103.8 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.3252, allocations: 31.92 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3252, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.3253, allocations: 16 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.3254, allocations: 11.72 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3257, allocations: 145.2 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.326, allocations: 0.6807 MB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.326, allocations: 4 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.3261, allocations: 7.438 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of SimCode: time 4.7e-07/0.3261, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.003032/0.3291, allocations: 0.8798 MB / 1.074 GB, free: 3.66 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches