Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] 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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.304, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004887/0.3089, allocations: 3.21 MB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.3113, allocations: 1.394 MB / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.3114, allocations: 8 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3124, allocations: 330.7 kB / 1.181 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.3128, allocations: 147.2 kB / 1.181 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.3132, allocations: 159.1 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.3136, allocations: 326.9 kB / 1.181 GB, free: 356 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004412/0.314, allocations: 255.6 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.3142, allocations: 147.5 kB / 1.182 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.3145, allocations: 147.4 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3146, allocations: 20 kB / 1.182 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.3149, allocations: 167.6 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.777e-05/0.315, allocations: 83.73 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3152, allocations: 119.5 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.3157, allocations: 366.6 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3157, allocations: 3.938 kB / 1.183 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3157, allocations: 0 / 1.183 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3157, allocations: 0 / 1.183 GB, free: 15.06 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009015/0.3166, allocations: 0.5338 MB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3166, allocations: 19.95 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005598/0.3172, allocations: 80.69 kB / 1.183 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.3176, allocations: 260 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.3176, allocations: 12.81 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.3176, allocations: 20.38 kB / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.3182, allocations: 316.6 kB / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3182, allocations: 0 / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.3182, allocations: 8 kB / 1.184 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.3183, allocations: 24.42 kB / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.3186, allocations: 209.6 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3203, allocations: 1.486 MB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.3207, allocations: 211.6 kB / 1.186 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.3208, allocations: 44.83 kB / 1.186 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3209, allocations: 4 kB / 1.186 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3209, allocations: 34.56 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3209, allocations: 0 / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0006026/0.3215, allocations: 263.4 kB / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3216, allocations: 55.41 kB / 1.186 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3218, allocations: 207.7 kB / 1.186 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3218, allocations: 29.64 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3219, allocations: 176 kB / 1.186 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.322, allocations: 35.73 kB / 1.186 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.322, allocations: 37.67 kB / 1.186 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3222, allocations: 338.8 kB / 1.187 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3223, allocations: 43.97 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3224, allocations: 102.8 kB / 1.187 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3227, allocations: 176.4 kB / 1.187 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3227, allocations: 4 kB / 1.187 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003784/0.3231, allocations: 218.1 kB / 1.187 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3231, allocations: 4.281 kB / 1.187 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3231, allocations: 8.391 kB / 1.187 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.3233, allocations: 24.84 kB / 1.187 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3235, allocations: 35.92 kB / 1.187 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3246, allocations: 1.437 MB / 1.189 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3248, allocations: 19.88 kB / 1.189 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3248, allocations: 11.98 kB / 1.189 GB, free: 8.027 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.3249, allocations: 149.9 kB / 1.189 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.325, allocations: 15.91 kB / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.325, allocations: 21.39 kB / 1.189 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.325, allocations: 4 kB / 1.189 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3251, allocations: 0 / 1.189 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3251, allocations: 0 / 1.189 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.3257, allocations: 487.1 kB / 1.189 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3257, allocations: 4 kB / 1.189 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.3258, allocations: 15.98 kB / 1.189 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/0.3259, allocations: 24.78 kB / 1.189 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3259, allocations: 4 kB / 1.189 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.327, allocations: 1.429 MB / 1.191 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.327, allocations: 0 / 1.191 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.3274, allocations: 244.3 kB / 1.191 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.3275, allocations: 93 kB / 1.191 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.3275, allocations: 8 kB / 1.191 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3276, allocations: 4 kB / 1.191 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3277, allocations: 7.984 kB / 1.191 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3277, allocations: 0 / 1.191 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001335/0.3278, allocations: 148.2 kB / 1.191 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3278, allocations: 4 kB / 1.191 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003307/0.3282, allocations: 59.83 kB / 1.191 GB, free: 5.082 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001185/0.3283, allocations: 105.5 kB / 1.192 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.3287, allocations: 226.6 kB / 1.192 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3287, allocations: 0.5625 kB / 1.192 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.329, allocations: 174.5 kB / 1.192 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3293, allocations: 38.53 kB / 1.192 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.33, allocations: 432.9 kB / 1.192 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3304, allocations: 0.7554 MB / 1.193 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.3305, allocations: 15.44 kB / 1.193 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.3305, allocations: 0 / 1.193 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.005456/0.336, allocations: 3.236 MB / 1.196 GB, free: 36 kB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.988289384986274]