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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001133/0.001133, 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.00122/0.00122, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.525/2.525, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7586, allocations: 140.4 MB / 0.9491 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00253/0.7612, allocations: 1.518 MB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.7616, allocations: 193.8 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.7617, allocations: 0 / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.7617, allocations: 1.188 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.762, allocations: 16.64 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.7622, allocations: 56.89 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7623, allocations: 45.42 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.7625, allocations: 11.86 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.7625, allocations: 31.44 kB / 0.9509 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.7626, allocations: 21.86 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.7627, allocations: 4.562 kB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.076e-05/0.7627, allocations: 9.094 kB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.7627, allocations: 10.3 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.7628, allocations: 27.89 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.7629, allocations: 42.08 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7629, allocations: 3.938 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7629, allocations: 0 / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.7629, allocations: 0 / 0.951 GB, free: 7.52 MB / 0.7169 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.0005281/0.7635, allocations: 354.5 kB / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7635, allocations: 8.719 kB / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.7636, allocations: 8.094 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.7637, allocations: 166.9 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.7637, allocations: 9.734 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.7637, allocations: 3.062 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.7639, allocations: 74.84 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7639, allocations: 4.188 kB / 0.9516 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.7639, allocations: 3.938 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7639, allocations: 1.375 kB / 0.9516 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.764, allocations: 21.61 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.7644, allocations: 280 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.7645, allocations: 40.19 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.7645, allocations: 18.89 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.7646, allocations: 1.125 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.7648, allocations: 62.33 kB / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.634e-06/0.7648, allocations: 0 / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.765, allocations: 79.77 kB / 0.9521 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.7651, allocations: 104.2 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.7651, allocations: 104.8 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.7652, allocations: 31.11 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.7652, allocations: 85.55 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.7652, allocations: 9.531 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.7653, allocations: 24.14 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.7653, allocations: 314.8 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.7654, allocations: 14.2 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.7654, allocations: 35.72 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5e-05/0.7655, allocations: 32.2 kB / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7655, allocations: 1.656 kB / 0.9528 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.348e-05/0.7656, allocations: 56.03 kB / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7656, allocations: 4 kB / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7656, allocations: 5.156 kB / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7656, allocations: 0 / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.7657, allocations: 5.812 kB / 0.9529 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.7657, allocations: 3.938 kB / 0.9529 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.7658, allocations: 10.33 kB / 0.9529 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.7659, allocations: 9.219 kB / 0.9529 GB, free: 5.527 MB / 0.7169 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.472e-05/0.7659, allocations: 112.5 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.766, allocations: 6.344 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.766, allocations: 12.67 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.766, allocations: 5.375 kB / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.766, allocations: 0 / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.766, allocations: 0 / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.7662, allocations: 171.2 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7662, allocations: 0 / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.7662, allocations: 14.89 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7662, allocations: 0 / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.7662, allocations: 1.562 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7662, allocations: 0 / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7662, allocations: 0 / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.7664, allocations: 95.81 kB / 0.9533 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.7664, allocations: 87.7 kB / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.7664, allocations: 5.234 kB / 0.9534 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.7666, allocations: 15.83 kB / 0.9534 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.7666, allocations: 5.359 kB / 0.9534 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7666, allocations: 1.375 kB / 0.9534 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.7667, allocations: 88.72 kB / 0.9535 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7667, allocations: 0 / 0.9535 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001943/0.7669, allocations: 14.98 kB / 0.9535 GB, free: 4.875 MB / 0.7169 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.0001009/0.767, allocations: 98.5 kB / 0.9536 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.7671, allocations: 29.33 kB / 0.9537 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7671, allocations: 5.188 kB / 0.9537 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.7671, allocations: 16.81 kB / 0.9537 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.7673, allocations: 10 kB / 0.9537 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.7676, allocations: 133.7 kB / 0.9538 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.7677, allocations: 0.6832 MB / 0.9545 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.7678, allocations: 8.844 kB / 0.9545 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.7678, allocations: 14.31 kB / 0.9545 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7678, allocations: 0 / 0.9545 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.003927/0.7717, allocations: 0.8671 MB / 0.9554 GB, free: 3.453 MB / 0.7169 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 -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/jenkins/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