Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001334/0.001334, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001496/0.001496, allocations: 214.8 kB / 22.99 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002076/0.002076, allocations: 65.81 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002799/0.3345, allocations: 1.48 MB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004703/0.335, allocations: 171.5 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.3351, allocations: 0 / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.3351, allocations: 3.938 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.3353, allocations: 31.84 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3355, allocations: 51.67 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3356, allocations: 63.78 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3357, allocations: 19.92 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.3358, allocations: 23.92 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.3359, allocations: 23.91 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.3359, allocations: 4.047 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.3359, allocations: 7.938 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.3359, allocations: 11.92 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.336, allocations: 23.88 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3361, allocations: 43.86 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3361, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3361, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3361, allocations: 4 kB / 1.328 GB, free: 15.9 MB / 1.029 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.0005628/0.3367, allocations: 274.3 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3367, allocations: 12.03 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.3367, allocations: 4.891 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3369, allocations: 110.5 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3369, allocations: 384 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3369, allocations: 12.36 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3371, allocations: 128.2 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3371, allocations: 192 / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3371, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3371, allocations: 4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.3372, allocations: 15.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3375, allocations: 212.6 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.3377, allocations: 42.45 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.3377, allocations: 20.94 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3377, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.3379, allocations: 63.39 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3379, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002241/0.3381, allocations: 73.62 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.3382, allocations: 114.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.3383, allocations: 101.9 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3383, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.3384, allocations: 92.08 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3384, allocations: 7.953 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.3385, allocations: 21.7 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3386, allocations: 314.8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.3386, allocations: 8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.3387, allocations: 89.97 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/0.3388, allocations: 28.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3388, allocations: 3.938 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.3389, allocations: 61.66 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3389, allocations: 14.12 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3389, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3389, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.339, allocations: 7.984 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.339, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3391, allocations: 19.88 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3391, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 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.0001084/0.3392, allocations: 114.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.3393, allocations: 8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.3393, allocations: 7.688 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3393, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3393, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3393, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3394, allocations: 117.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3394, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.3394, allocations: 15.92 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3394, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3394, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3394, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3394, allocations: 8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3396, allocations: 97.17 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.3396, allocations: 8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3397, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3398, allocations: 7.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3398, allocations: 3.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3398, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.301e-05/0.3399, allocations: 83.28 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001959/0.3401, allocations: 15.98 kB / 1.33 GB, free: 13.27 MB / 1.029 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.0001334/0.3402, allocations: 107.2 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3403, allocations: 27.98 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3403, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.3404, allocations: 12 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.3405, allocations: 11.88 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.3409, allocations: 147.3 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.331e-05/0.3409, allocations: 63.34 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.341, allocations: 11.44 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.341, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of Templates: time 0.002581/0.3436, allocations: 0.8511 MB / 1.332 GB, free: 11.98 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.971903902012855]