Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001534/0.001534, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001826/0.001826, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 62.69 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2645, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002972/0.2675, allocations: 1.462 MB / 0.9526 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004923/0.2681, allocations: 183.4 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.2681, allocations: 4 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.2682, allocations: 3.984 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.2684, allocations: 15.86 kB / 0.9528 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.2687, allocations: 63.78 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.2688, allocations: 63.78 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2689, allocations: 7.984 kB / 0.9529 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.269, allocations: 23.97 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.2691, allocations: 23.92 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2691, allocations: 4 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.2691, allocations: 4 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.2691, allocations: 15.92 kB / 0.953 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.2692, allocations: 23.91 kB / 0.953 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.2693, allocations: 47.81 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2693, allocations: 4 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.496e-06/0.2693, allocations: 0 / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2693, allocations: 3.938 kB / 0.953 GB, free: 6.121 MB / 0.7325 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.0005624/0.2699, allocations: 347.5 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.27, allocations: 12.03 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.27, allocations: 4.844 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2702, allocations: 176.3 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2702, allocations: 384 / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2702, allocations: 4.375 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2704, allocations: 76.81 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2704, allocations: 192 / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.2704, allocations: 7.938 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2704, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.2705, allocations: 23.92 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.2708, allocations: 276.8 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.271, allocations: 42.56 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.271, allocations: 16.86 kB / 0.954 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.271, allocations: 3.938 kB / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.2712, allocations: 63.42 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.2712, allocations: 0 / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.2715, allocations: 69.67 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.2715, allocations: 110.8 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.787e-05/0.2716, allocations: 105.8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2717, allocations: 33.64 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.2717, allocations: 84.05 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2717, allocations: 19.83 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.2718, allocations: 13.72 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2719, allocations: 322.8 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.2719, allocations: 12 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.272, allocations: 34.56 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.2721, allocations: 24.86 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2721, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001018/0.2722, allocations: 61.69 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2722, allocations: 4 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2722, allocations: 3.938 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2722, allocations: 0 / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.2723, allocations: 8 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2723, allocations: 4.031 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2724, allocations: 11.89 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2724, allocations: 0 / 0.9549 GB, free: 3.922 MB / 0.7325 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.854e-05/0.2725, allocations: 119.8 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.2726, allocations: 7.984 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.2726, allocations: 3.938 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2726, allocations: 0 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2726, allocations: 192 / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2726, allocations: 4 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.2727, allocations: 185.6 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2728, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.2728, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2728, allocations: 4 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2728, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2728, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2728, allocations: 3.938 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.273, allocations: 96.98 kB / 0.9553 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.273, allocations: 93 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.2731, allocations: 7.938 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2732, allocations: 10.38 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.2732, allocations: 0 / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2732, allocations: 4 kB / 0.9554 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.2733, allocations: 87.27 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2733, allocations: 0 / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001987/0.2735, allocations: 12 kB / 0.9555 GB, free: 3.199 MB / 0.7325 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.2736, allocations: 107.2 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.2737, allocations: 31.92 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2737, allocations: 0 / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.2738, allocations: 12 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.2739, allocations: 10.12 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.2743, allocations: 117.6 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.2745, allocations: 0.6844 MB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.2746, allocations: 8 kB / 0.9565 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.2746, allocations: 11.44 kB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2746, allocations: 0 / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of Templates: time 0.003264/0.2779, allocations: 0.8806 MB / 0.9573 GB, free: 1.293 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches