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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001934/0.001934, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002405/0.002405, allocations: 196.5 kB / 16.14 MB, free: 6.719 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.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.876/2.876, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7109, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002688/0.7136, allocations: 1.519 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004215/0.7141, allocations: 187.4 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.7141, allocations: 4 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.7142, allocations: 3.984 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.7144, allocations: 15.92 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.7146, allocations: 59.73 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.384e-05/0.7147, allocations: 55.8 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.7148, allocations: 7.969 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.7148, allocations: 23.92 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.7149, allocations: 23.91 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.7149, allocations: 8 kB / 1.018 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.7149, allocations: 0 / 1.018 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.715, allocations: 15.92 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.715, allocations: 15.94 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.7151, allocations: 45.83 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7152, allocations: 3.984 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7152, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.7152, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 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.0005644/0.7157, allocations: 351.3 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.7158, allocations: 16.03 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.7158, allocations: 0.9375 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.716, allocations: 168.4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.716, allocations: 384 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.716, allocations: 4.375 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.7162, allocations: 76.75 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7162, allocations: 192 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.7162, allocations: 7.938 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7162, allocations: 4 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.7163, allocations: 15.98 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.7167, allocations: 276.8 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.7168, allocations: 42.5 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.7169, allocations: 20.86 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.7169, allocations: 7.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.717, allocations: 63.47 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.7171, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002181/0.7173, allocations: 73.61 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.7174, allocations: 106.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.7175, allocations: 109.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7175, allocations: 25.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.7176, allocations: 91.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.7176, allocations: 11.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.7176, allocations: 21.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7178, allocations: 318.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.7178, allocations: 11.98 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.7179, allocations: 26.58 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.718, allocations: 28.84 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.718, allocations: 7.969 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000115/0.7181, allocations: 61.69 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7181, allocations: 4 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.7181, allocations: 0 / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7182, allocations: 0 / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.7182, allocations: 8 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7182, allocations: 0 / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.7184, allocations: 11.89 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7184, allocations: 4 kB / 1.02 GB, free: 14.55 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 0.0001032/0.7185, allocations: 121.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.7185, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.7185, allocations: 7.484 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7186, allocations: 4.188 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7186, allocations: 448 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.7186, allocations: 3.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.7187, allocations: 173.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7187, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.7188, allocations: 7.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7188, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7188, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7188, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7188, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.719, allocations: 93.05 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.719, allocations: 88.95 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.7191, allocations: 7.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.7192, allocations: 5.547 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.7192, allocations: 7.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.7193, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.7193, allocations: 83.28 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7193, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002001/0.7195, allocations: 16 kB / 1.021 GB, free: 13.82 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.0001283/0.7197, allocations: 107.7 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.7198, allocations: 27.98 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7198, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.7198, allocations: 16 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.72, allocations: 11.88 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.7203, allocations: 139.2 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.7207, allocations: 0.6809 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.7207, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.7208, allocations: 11.44 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.535e-06/0.7208, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.003383/0.7242, allocations: 0.8266 MB / 1.023 GB, free: 11.94 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=400 -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/jenkins/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