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.001229/0.001229, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.369/2.369, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7124, allocations: 140.4 MB / 0.9496 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002918/0.7154, allocations: 1.452 MB / 0.951 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004269/0.7159, allocations: 184.3 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.7159, allocations: 0 / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.716, allocations: 3.938 kB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.7162, allocations: 32.94 kB / 0.9512 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.7164, allocations: 51.95 kB / 0.9513 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.7165, allocations: 53 kB / 0.9513 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.7166, allocations: 12.48 kB / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.7166, allocations: 27.52 kB / 0.9514 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.7167, allocations: 18.64 kB / 0.9514 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.7167, allocations: 4.094 kB / 0.9514 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.7168, allocations: 5.156 kB / 0.9514 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.7168, allocations: 17.72 kB / 0.9514 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.7168, allocations: 26.42 kB / 0.9514 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.317e-05/0.7169, allocations: 42.88 kB / 0.9515 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7169, allocations: 4 kB / 0.9515 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7169, allocations: 5.344 kB / 0.9515 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.717, allocations: 0 / 0.9515 GB, free: 7.887 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.0004746/0.7174, allocations: 345.6 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7175, allocations: 8.625 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.7175, allocations: 7.5 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.7176, allocations: 175.2 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.7177, allocations: 1.688 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.7177, allocations: 1.594 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.7178, allocations: 75.44 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7179, allocations: 192 / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.7179, allocations: 5.312 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7179, allocations: 0 / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.718, allocations: 21.73 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.7183, allocations: 277.5 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.7184, allocations: 46.95 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.7184, allocations: 15.64 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.7185, allocations: 0 / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.7186, allocations: 66.98 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7187, allocations: 0 / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002217/0.7189, allocations: 75.3 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.7189, allocations: 104.1 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.719, allocations: 105.5 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.719, allocations: 27.02 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.7191, allocations: 85.33 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.7191, allocations: 9.219 kB / 0.9529 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.7191, allocations: 32.23 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.496e-05/0.7192, allocations: 323.7 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.7192, allocations: 5.094 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.7193, allocations: 36.66 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.7193, allocations: 23.95 kB / 0.9533 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7193, allocations: 4.312 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.688e-05/0.7194, allocations: 60.34 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7194, allocations: 9.5 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7195, allocations: 0 / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7195, allocations: 4.5 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.7196, allocations: 5.812 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7196, allocations: 1.688 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.7197, allocations: 11.89 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.7197, allocations: 1.344 kB / 0.9534 GB, free: 5.906 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.193e-05/0.7198, allocations: 113.8 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.7198, allocations: 15.33 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.7198, allocations: 7.5 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7198, allocations: 0 / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7198, allocations: 1.5 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7198, allocations: 0 / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.562e-05/0.7199, allocations: 177.7 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.72, allocations: 0 / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.72, allocations: 3.469 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.72, allocations: 0 / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.72, allocations: 1.406 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.72, allocations: 0 / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.72, allocations: 5.188 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.7201, allocations: 91.11 kB / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.7202, allocations: 87.25 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.7202, allocations: 5.531 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.7203, allocations: 8.266 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.7204, allocations: 2.625 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.7204, allocations: 1.281 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.7204, allocations: 93.42 kB / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7204, allocations: 0 / 0.9539 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001951/0.7206, allocations: 13.72 kB / 0.954 GB, free: 5.262 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.0001156/0.7207, allocations: 102.4 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.7209, allocations: 31.2 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7209, allocations: 0 / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.7209, allocations: 20.73 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.7211, allocations: 7.688 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.7214, allocations: 140.7 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.7215, allocations: 0.6834 MB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.7216, allocations: 4.438 kB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.7216, allocations: 10.25 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7216, allocations: 3.938 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.002915/0.7245, allocations: 0.8762 MB / 0.9558 GB, free: 3.84 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