Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_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.001652/0.001652, allocations: 106.7 kB / 15.99 MB, free: 6.348 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.001802/0.001802, allocations: 195.1 kB / 16.91 MB, free: 6.188 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 / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 469.4 MB / 0.7423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 61.75 kB / 0.9083 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 159.1 MB / 1.064 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002771/0.3207, allocations: 1.524 MB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000417/0.3211, allocations: 179.5 kB / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.3212, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.3212, allocations: 0 / 1.065 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.3215, allocations: 23.86 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.3217, allocations: 48.92 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.3218, allocations: 63.78 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3219, allocations: 15.92 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.966e-05/0.3219, allocations: 16 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.322, allocations: 19.91 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3221, allocations: 4 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.3221, allocations: 4 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3221, allocations: 15.92 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.3222, allocations: 23.92 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.908e-05/0.3223, allocations: 44.14 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3223, allocations: 4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3223, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3223, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 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.0005457/0.3228, allocations: 343.5 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3229, allocations: 8.625 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3229, allocations: 4.938 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3231, allocations: 180.2 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3231, allocations: 4.375 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.3231, allocations: 384 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3233, allocations: 76.81 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3233, allocations: 192 / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3233, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3234, allocations: 3.984 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.3234, allocations: 23.98 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.3239, allocations: 276.8 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.769e-05/0.324, allocations: 38.56 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.324, allocations: 16.86 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.324, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3242, allocations: 63.42 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3242, allocations: 4 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002231/0.3245, allocations: 77.58 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3245, allocations: 102.8 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.3246, allocations: 105.8 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3247, allocations: 25.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.3247, allocations: 88.14 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.3247, allocations: 7.844 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.3248, allocations: 25.7 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3249, allocations: 322.8 kB / 1.067 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.325, allocations: 8 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.325, allocations: 42.88 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/0.3251, allocations: 28.86 kB / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3251, allocations: 0 / 1.067 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.3252, allocations: 57.59 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3252, allocations: 11.94 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3252, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3252, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.3253, allocations: 8.031 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3253, allocations: 3.938 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3255, allocations: 15.98 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3255, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 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.592e-05/0.3256, allocations: 113.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.3256, allocations: 7.984 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.3256, allocations: 7.5 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3256, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3256, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3257, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3258, allocations: 173.6 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3258, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.3258, allocations: 7.938 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3258, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3258, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3259, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3259, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.326, allocations: 100.9 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3261, allocations: 85.33 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.3261, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3262, allocations: 12.05 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.3262, allocations: 7.984 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3263, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.3263, allocations: 91.27 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3263, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001943/0.3265, allocations: 8 kB / 1.068 GB, free: 10.44 MB / 0.8419 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.0001096/0.3266, allocations: 103.2 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.3268, allocations: 35.98 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3268, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.3268, allocations: 15.94 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.327, allocations: 7.938 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.3273, allocations: 159.3 kB / 1.068 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3276, allocations: 0.6845 MB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3276, allocations: 11.44 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3276, allocations: 0 / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of Templates: time 0.002347/0.33, allocations: 0.8361 MB / 1.07 GB, free: 8.539 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches