Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00748/0.00748, allocations: 97.3 kB / 15.73 MB, free: 5.547 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.001627/0.001627, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.642/2.642, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9175/0.9188, allocations: 159.1 MB / 1.221 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002836/0.9217, allocations: 1.441 MB / 1.222 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005/0.9222, allocations: 195.4 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.9222, allocations: 0 / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.9222, allocations: 11.92 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.9225, allocations: 14.12 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.9227, allocations: 55.91 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.9228, allocations: 63.83 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.9229, allocations: 0 / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.923, allocations: 23.92 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.9231, allocations: 23.92 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.9231, allocations: 7.938 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.9231, allocations: 4 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.9232, allocations: 19.97 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.9232, allocations: 23.86 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.9233, allocations: 51.66 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9233, allocations: 0 / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9233, allocations: 0 / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9233, allocations: 0 / 1.222 GB, free: 156 kB / 0.9356 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.0005926/0.9239, allocations: 352 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.924, allocations: 12.62 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.924, allocations: 0.9375 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.9242, allocations: 180.3 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.9242, allocations: 384 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.9242, allocations: 4.375 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.9243, allocations: 76.75 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9244, allocations: 192 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9244, allocations: 7.938 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9244, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.9244, allocations: 15.98 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.9248, allocations: 272.9 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.561e-05/0.9249, allocations: 38.5 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.925, allocations: 12.86 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.925, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.9251, allocations: 67.47 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9252, allocations: 0 / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002188/0.9254, allocations: 81.56 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.9254, allocations: 102.8 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.9255, allocations: 109.8 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.9256, allocations: 25.7 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.9256, allocations: 92.08 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.9256, allocations: 7.938 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.9257, allocations: 21.72 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9258, allocations: 326.8 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.9258, allocations: 11.94 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.9259, allocations: 34.56 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.9259, allocations: 24.86 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9259, allocations: 0 / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.926, allocations: 61.95 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.926, allocations: 8 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.926, allocations: 4.031 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9261, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.9261, allocations: 8.062 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.9261, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.9262, allocations: 18.52 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.9262, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 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.659e-05/0.9263, allocations: 122.3 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.9264, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.9264, allocations: 7.5 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9264, allocations: 4 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9264, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.9264, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.9265, allocations: 181.5 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9265, allocations: 0 / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.9265, allocations: 7.938 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9265, allocations: 0 / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.9265, allocations: 0 / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9265, allocations: 0 / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9265, allocations: 4 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.9267, allocations: 93.05 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.9267, allocations: 85.09 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.9267, allocations: 4 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.9269, allocations: 7.984 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.9269, allocations: 4 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.9269, allocations: 0 / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.9269, allocations: 91.27 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9269, allocations: 0 / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001936/0.9271, allocations: 12 kB / 1.225 GB, free: 13.25 MB / 0.9512 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.0001663/0.9273, allocations: 103.2 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.9274, allocations: 27.98 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9274, allocations: 7.875 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.9275, allocations: 12 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.9276, allocations: 13.66 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.928, allocations: 145.2 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.9282, allocations: 0.681 MB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.9282, allocations: 7.984 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.9283, allocations: 11.44 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.9283, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.003226/0.9315, allocations: 0.8936 MB / 1.227 GB, free: 11.3 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches