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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001784/0.001783, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002137/0.002137, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.587/1.587, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.91/2.91, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001906, allocations: 71.89 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8038, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003651/0.8075, allocations: 1.527 MB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.8081, allocations: 179.5 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.8081, allocations: 4 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.993e-05/0.8082, allocations: 7.922 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.8085, allocations: 7.938 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.8088, allocations: 55.91 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.809, allocations: 55.78 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.8091, allocations: 15.98 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/0.8092, allocations: 16 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.8093, allocations: 23.91 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.8093, allocations: 0 / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.8093, allocations: 4 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.8094, allocations: 15.91 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.8094, allocations: 11.94 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.8096, allocations: 53.83 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8096, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.01e-07/0.8096, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.8096, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 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.0006427/0.8102, allocations: 355.3 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8103, allocations: 8.031 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.8103, allocations: 4.938 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.8105, allocations: 172.4 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.8105, allocations: 384 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.8105, allocations: 8.312 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.8107, allocations: 72.81 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8107, allocations: 192 / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.8108, allocations: 7.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.8108, allocations: 0 / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.8108, allocations: 19.94 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.8113, allocations: 276.7 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.8114, allocations: 42.56 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.8115, allocations: 16.86 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.8115, allocations: 3.938 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.8117, allocations: 67.42 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.8117, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.8119, allocations: 69.67 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.812, allocations: 110.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.8121, allocations: 105.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.8122, allocations: 29.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.8122, allocations: 88.05 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.8122, allocations: 11.84 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.8123, allocations: 21.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8125, allocations: 318.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.8125, allocations: 11.98 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.613e-05/0.8126, allocations: 34.58 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.8126, allocations: 28.84 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.8126, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.8127, allocations: 53.7 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8128, allocations: 9.391 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8128, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.8128, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.8129, allocations: 11.94 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8129, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.813, allocations: 19.92 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.813, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 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 0.0001024/0.8131, allocations: 113.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.8132, allocations: 8.188 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.8132, allocations: 3.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8132, allocations: 7.969 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8132, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8132, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.8134, allocations: 177.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8134, allocations: 448 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.8134, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8134, allocations: 7.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.8134, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8135, allocations: 3.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8135, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.8136, allocations: 93 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.8137, allocations: 88.94 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.8137, allocations: 12 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.8138, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.8139, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8139, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.814, allocations: 83.28 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.814, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001968/0.8142, allocations: 12 kB / 1.021 GB, free: 13.9 MB / 0.7794 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.0001404/0.8143, allocations: 107.8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.8144, allocations: 31.92 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.8145, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.8145, allocations: 16 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.8147, allocations: 9.969 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.815, allocations: 131.3 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.8154, allocations: 0.6848 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.8154, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.8154, allocations: 11.44 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.354e-06/0.8154, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.003397/0.8188, allocations: 0.8437 MB / 1.023 GB, free: 12.05 MB / 0.7794 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=400 -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/jenkins/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