Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_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_10_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.001778/0.001778, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001341/0.00134, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.421/2.421, allocations: 437.1 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3069, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002491/0.3095, allocations: 1.468 MB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000403/0.3099, allocations: 181.5 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.3099, allocations: 4 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.31, allocations: 3.938 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.3102, allocations: 27.84 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3104, allocations: 56.8 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.3105, allocations: 59.69 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.3106, allocations: 12 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.3106, allocations: 23.97 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.3107, allocations: 27.84 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3107, allocations: 8 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.3108, allocations: 4 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.3108, allocations: 7.938 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.3108, allocations: 27.91 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.394e-05/0.3109, allocations: 51.8 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.311, allocations: 0 / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.311, allocations: 4 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.311, allocations: 0 / 1.021 GB, free: 7.84 MB / 0.795 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.0005123/0.3115, allocations: 347.5 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3115, allocations: 12.92 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.3116, allocations: 4.938 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3117, allocations: 168.3 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3117, allocations: 4.375 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3117, allocations: 4.375 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3119, allocations: 72.75 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3119, allocations: 192 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3119, allocations: 7.922 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3119, allocations: 11.98 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.312, allocations: 16 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.3124, allocations: 272.8 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.3125, allocations: 38.52 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.3125, allocations: 20.94 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.3125, allocations: 0 / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.3127, allocations: 67.39 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3127, allocations: 0 / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000227/0.3129, allocations: 73.61 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.313, allocations: 110.7 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.3131, allocations: 105.9 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3131, allocations: 29.69 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.3131, allocations: 92.05 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3132, allocations: 11.84 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3132, allocations: 25.7 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3133, allocations: 314.8 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.3134, allocations: 12 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.3134, allocations: 34.56 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.3135, allocations: 24.86 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3135, allocations: 0 / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.864e-05/0.3136, allocations: 65.66 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3136, allocations: 4 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3136, allocations: 0 / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3136, allocations: 0 / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.3137, allocations: 7.984 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3137, allocations: 4 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3138, allocations: 11.89 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3139, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.795 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.187e-05/0.314, allocations: 117.8 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.314, allocations: 4 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.314, allocations: 7.5 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.314, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.314, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.314, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3142, allocations: 173.6 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3142, allocations: 8.375 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.3142, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3142, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3142, allocations: 8 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3142, allocations: 7.984 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3142, allocations: 0 / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.3144, allocations: 85.06 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3145, allocations: 89 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3145, allocations: 4.172 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3146, allocations: 15.98 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.3146, allocations: 3.984 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3147, allocations: 11.98 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.3147, allocations: 83.28 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3147, allocations: 0 / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001984/0.3149, allocations: 8 kB / 1.023 GB, free: 4.926 MB / 0.795 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.0001224/0.315, allocations: 107.2 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.3152, allocations: 31.92 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3152, allocations: 0 / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.3152, allocations: 19.98 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.3154, allocations: 11.94 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.3157, allocations: 121.5 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3159, allocations: 0.6787 MB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.316, allocations: 8.234 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.316, allocations: 11.44 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.316, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of Templates: time 0.003018/0.319, allocations: 0.8832 MB / 1.025 GB, free: 3.043 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches