Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002006/0.002006, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.494/1.494, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.583/2.583, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7146, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002994/0.7176, allocations: 1.53 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.7182, allocations: 175.5 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.7182, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.7183, allocations: 7.938 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.7185, allocations: 15.91 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.7187, allocations: 55.67 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.7189, allocations: 55.8 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.719, allocations: 11.98 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.719, allocations: 19.98 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.7191, allocations: 27.91 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.7191, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.7192, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.7192, allocations: 11.94 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.7192, allocations: 23.91 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.512e-05/0.7193, allocations: 45.84 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7193, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7193, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7194, allocations: 0 / 1.019 GB, free: 0.7539 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.0005054/0.7199, allocations: 351.4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.7199, allocations: 12.03 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.72, allocations: 8.844 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.7201, allocations: 172.3 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.7201, allocations: 384 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.7201, allocations: 8.359 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.7203, allocations: 72.83 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.7203, allocations: 8.156 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.7203, allocations: 7.938 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7203, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.7204, allocations: 15.94 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.7208, allocations: 284.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.7209, allocations: 34.67 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.7209, allocations: 20.84 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.7209, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.7211, allocations: 67.33 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.7211, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001859/0.7213, allocations: 69.67 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.7214, allocations: 106.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.7215, allocations: 113.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.7215, allocations: 29.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.7216, allocations: 87.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.7216, allocations: 11.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.7216, allocations: 17.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7217, allocations: 322.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.7218, allocations: 11.94 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.7218, allocations: 34.56 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.7219, allocations: 28.84 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7219, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001063/0.722, allocations: 58.14 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.722, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.722, allocations: 3.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.722, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.7221, allocations: 15.94 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7221, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.7222, allocations: 12.02 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.7223, allocations: 4 kB / 1.021 GB, free: 14.54 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 7.952e-05/0.7223, allocations: 118.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.7224, allocations: 3.906 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.7224, allocations: 3.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.7224, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7224, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7224, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.7225, allocations: 169.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7226, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.7226, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7226, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.7226, allocations: 3.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7226, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7226, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.7228, allocations: 93.19 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.7228, allocations: 96.97 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.7229, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.723, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.723, allocations: 7.984 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.723, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.7231, allocations: 87.22 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7231, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001932/0.7233, allocations: 12 kB / 1.021 GB, free: 13.82 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.0001232/0.7234, allocations: 107.2 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.7235, allocations: 39.92 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7236, allocations: 3.938 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.7236, allocations: 16 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.7238, allocations: 6.75 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.7241, allocations: 129.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.7243, allocations: 0.6846 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.7243, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.7244, allocations: 11.44 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7244, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002835/0.7272, allocations: 0.8698 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches