Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009162/0.0009166, allocations: 92.16 kB / 16.02 MB, free: 80 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.00117/0.00117, allocations: 174.5 kB / 16.92 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005985/0.0005986, allocations: 8 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8498, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001699/0.8516, allocations: 1.18 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003921/0.852, allocations: 179.5 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.852, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.852, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.8523, allocations: 23.91 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.8525, allocations: 47.94 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.004e-05/0.8526, allocations: 55.78 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.8527, allocations: 7.984 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.8527, allocations: 19.98 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.8528, allocations: 23.86 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.8528, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.8529, allocations: 7.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.8529, allocations: 15.91 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.853, allocations: 49.62 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.165e-05/0.853, allocations: 29.91 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.853, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.824e-06/0.853, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8531, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 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.0004986/0.8536, allocations: 339.4 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8536, allocations: 12.03 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.8536, allocations: 8.781 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.8538, allocations: 168.4 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.8538, allocations: 384 / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8539, allocations: 4.375 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.854, allocations: 76.75 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.854, allocations: 192 / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.8541, allocations: 7.938 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8541, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.8541, allocations: 15.98 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.8546, allocations: 288.7 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.8548, allocations: 42.5 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.8548, allocations: 20.94 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.8548, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.855, allocations: 63.39 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.855, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.8552, allocations: 69.62 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.8553, allocations: 110.8 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.8554, allocations: 109.8 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.8554, allocations: 25.7 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.8555, allocations: 84.12 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.8555, allocations: 15.81 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.8555, allocations: 9.719 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8556, allocations: 318.8 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.8557, allocations: 15.98 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.8557, allocations: 30.58 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.8558, allocations: 28.84 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8558, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.898e-05/0.8559, allocations: 61.62 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.8559, allocations: 4 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8559, allocations: 4.469 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.8559, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.856, allocations: 8 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.856, allocations: 3.938 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.8562, allocations: 21.61 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.8562, allocations: 0 / 1.027 GB, free: 12.07 MB / 0.7794 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.867e-05/0.8563, allocations: 114.3 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.8563, allocations: 3.906 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.8563, allocations: 19.48 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8563, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8563, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8563, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.8565, allocations: 169.6 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8565, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.8565, allocations: 11.92 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.8565, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.8565, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8565, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.8566, allocations: 7.984 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.8567, allocations: 93.05 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.8568, allocations: 85.05 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.8568, allocations: 3.984 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.8569, allocations: 15.94 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.857, allocations: 3.984 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.857, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001018/0.8571, allocations: 87.28 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8571, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001909/0.8573, allocations: 15.91 kB / 1.028 GB, free: 11.35 MB / 0.7794 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.0001267/0.8574, allocations: 107.2 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.8576, allocations: 28.22 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8576, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.8576, allocations: 12 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.8578, allocations: 12.5 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.8581, allocations: 166.4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.8584, allocations: 0.6809 MB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.8584, allocations: 11.42 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8584, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002168/0.8606, allocations: 0.8197 MB / 1.03 GB, free: 9.457 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches