Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.8 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002927/0.002927, allocations: 70.2 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3462, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00303/0.3493, allocations: 1.485 MB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004699/0.3497, allocations: 187.4 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.3498, allocations: 3.938 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.3498, allocations: 11.92 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.35, allocations: 15.88 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3502, allocations: 56.91 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.3504, allocations: 59.83 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.3504, allocations: 7.938 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.586e-05/0.3505, allocations: 27.86 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.3506, allocations: 23.91 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3506, allocations: 4 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3506, allocations: 8 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.3507, allocations: 15.98 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.3507, allocations: 15.94 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3508, allocations: 47.86 kB / 1.287 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3509, allocations: 0 / 1.287 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3509, allocations: 0 / 1.287 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3509, allocations: 0 / 1.287 GB, free: 9.316 MB / 0.9825 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.000582/0.3514, allocations: 278.3 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3515, allocations: 8.031 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.3515, allocations: 4.891 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3516, allocations: 114.5 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3517, allocations: 12.3 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3517, allocations: 4.312 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3518, allocations: 82.58 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3519, allocations: 192 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3519, allocations: 3.938 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3519, allocations: 0 / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.3519, allocations: 16 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3523, allocations: 255.9 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.407e-05/0.3524, allocations: 30.58 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.3525, allocations: 16.94 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3525, allocations: 3.984 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3527, allocations: 67.39 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3527, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002263/0.3529, allocations: 73.61 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.353, allocations: 106.8 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3531, allocations: 105.9 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3531, allocations: 29.7 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3532, allocations: 84.12 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.3532, allocations: 15.89 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.3533, allocations: 25.7 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.3535, allocations: 322.8 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.3535, allocations: 12 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.3536, allocations: 30.56 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.3536, allocations: 28.8 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3536, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001038/0.3537, allocations: 61.69 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3537, allocations: 6.812 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3538, allocations: 4.031 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3538, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.3538, allocations: 11.98 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3538, allocations: 0 / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.354, allocations: 15.88 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.354, allocations: 0 / 1.288 GB, free: 7.305 MB / 0.9825 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.0001/0.3541, allocations: 117.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.3541, allocations: 7.938 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.3541, allocations: 7.688 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3541, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3541, allocations: 4 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3541, allocations: 3.938 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3543, allocations: 144.7 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3543, allocations: 0 / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.3543, allocations: 4.438 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3543, allocations: 3.938 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3543, allocations: 0 / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3543, allocations: 4 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3543, allocations: 0 / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3544, allocations: 97.05 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.3545, allocations: 11.94 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3545, allocations: 4 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3546, allocations: 10.8 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3546, allocations: 4 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3547, allocations: 3.984 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.3547, allocations: 83.28 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3547, allocations: 4 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000192/0.3549, allocations: 15.94 kB / 1.289 GB, free: 6.715 MB / 0.9825 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.0001197/0.355, allocations: 99.25 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.3552, allocations: 27.98 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3552, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.3552, allocations: 12.22 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3554, allocations: 14.38 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.3557, allocations: 151.4 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3561, allocations: 0.6807 MB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.3561, allocations: 19.41 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3561, allocations: 0 / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of Templates: time 0.002464/0.3586, allocations: 0.8358 MB / 1.291 GB, free: 4.816 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.075568701984594]