Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.001624/0.001624, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001808/0.001808, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.65/1.65, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [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.002087/0.002087, allocations: 67.69 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3741, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005424/0.3795, allocations: 3.196 MB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.3824, allocations: 1.399 MB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.3825, allocations: 7.938 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3838, allocations: 330.7 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.3841, allocations: 155.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3845, allocations: 155.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.385, allocations: 334.8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.3854, allocations: 200 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.3857, allocations: 159.4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.386, allocations: 147.5 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.386, allocations: 23.94 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.3863, allocations: 163.6 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3864, allocations: 91.72 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3865, allocations: 99.53 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.387, allocations: 362.6 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.387, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.387, allocations: 4 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.3871, allocations: 0 / 1.334 GB, free: 10.19 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009714/0.388, allocations: 489.3 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3881, allocations: 12.03 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007111/0.3888, allocations: 88.66 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.3892, allocations: 196.5 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3892, allocations: 24.8 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.3892, allocations: 16.38 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.3899, allocations: 397.7 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3899, allocations: 0 / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.3899, allocations: 12 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.39, allocations: 16.42 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.3904, allocations: 213.5 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.3919, allocations: 1.026 MB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.3924, allocations: 118.6 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.3925, allocations: 40.84 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3925, allocations: 4 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3925, allocations: 34.56 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3925, allocations: 0 / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.3931, allocations: 186.3 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3931, allocations: 51.41 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.3934, allocations: 203.1 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3934, allocations: 25.7 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3935, allocations: 180 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.3935, allocations: 31.8 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.3936, allocations: 41.7 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3938, allocations: 330.8 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3939, allocations: 43.97 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.394, allocations: 113.5 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.3943, allocations: 172.3 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3943, allocations: 0 / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003862/0.3947, allocations: 206.5 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3947, allocations: 10.03 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3947, allocations: 4.391 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.3949, allocations: 32.77 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.395, allocations: 35.92 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3962, allocations: 1.307 MB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3964, allocations: 23.88 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3964, allocations: 11.98 kB / 1.339 GB, free: 4.152 MB / 1.029 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.0001486/0.3965, allocations: 145.8 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.3966, allocations: 19.84 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.3966, allocations: 21.45 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3966, allocations: 4 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3966, allocations: 0 / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3966, allocations: 0 / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.3973, allocations: 414.9 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3973, allocations: 0 / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.03e-05/0.3974, allocations: 11.98 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.853e-05/0.3974, allocations: 24.84 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3975, allocations: 0 / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.3986, allocations: 1.299 MB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3986, allocations: 0 / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.3989, allocations: 236.2 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.399, allocations: 23.84 kB / 1.341 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.399, allocations: 0 / 1.341 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3991, allocations: 11.98 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.3992, allocations: 7.984 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3992, allocations: 0 / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001304/0.3993, allocations: 148.3 kB / 1.341 GB, free: 1.629 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3993, allocations: 4 kB / 1.341 GB, free: 1.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000351/0.3997, allocations: 55.89 kB / 1.342 GB, free: 1.57 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: 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.0001244/0.3998, allocations: 95.33 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.4003, allocations: 230.9 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4003, allocations: 0 / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.4005, allocations: 166.6 kB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4009, allocations: 41.23 kB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.4016, allocations: 392.5 kB / 1.342 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.4018, allocations: 152.2 kB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.784e-05/0.4019, allocations: 29.45 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.4019, allocations: 19.38 kB / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4019, allocations: 0 / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of Templates: time 0.006022/0.4079, allocations: 2.151 MB / 1.345 GB, free: 14.28 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.156335608990048]