Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001428/0.001428, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001601/0.001601, allocations: 222.6 kB / 23 MB, free: 4.914 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.72/2.72, allocations: 476 MB / 0.7707 GB, free: 4.738 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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_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_11_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.002131/0.002131, allocations: 65.25 kB / 1.118 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006008/0.3462, allocations: 3.196 MB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.349, allocations: 1.395 MB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.3493, allocations: 11.94 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3504, allocations: 326.8 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.3509, allocations: 159.2 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.3514, allocations: 155.6 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.3519, allocations: 330.9 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004547/0.3524, allocations: 196 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.3527, allocations: 155.5 kB / 1.29 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.353, allocations: 151.4 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.3531, allocations: 20 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.3535, allocations: 151.7 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3536, allocations: 91.72 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.3537, allocations: 111.5 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.3543, allocations: 354.7 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3543, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3543, allocations: 3.938 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3543, allocations: 0 / 1.29 GB, free: 5.145 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001037/0.3553, allocations: 489.4 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3554, allocations: 15.97 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/0.3561, allocations: 84.67 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.3565, allocations: 198.8 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3565, allocations: 24.8 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.3566, allocations: 20.31 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.3572, allocations: 393.7 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3572, allocations: 0 / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.3572, allocations: 11.98 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.3573, allocations: 12.44 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004153/0.3577, allocations: 209.6 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3593, allocations: 1.03 MB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.3597, allocations: 118.5 kB / 1.293 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3598, allocations: 44.83 kB / 1.293 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3598, allocations: 4 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3599, allocations: 30.56 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3599, allocations: 4 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005959/0.3605, allocations: 186.3 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3605, allocations: 51.41 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.3607, allocations: 205 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.3608, allocations: 29.7 kB / 1.293 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3609, allocations: 184 kB / 1.294 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3609, allocations: 27.8 kB / 1.294 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.361, allocations: 33.72 kB / 1.294 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3612, allocations: 334.8 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.3613, allocations: 39.98 kB / 1.294 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3614, allocations: 121.9 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3617, allocations: 164.4 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3617, allocations: 0 / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000417/0.3621, allocations: 218.3 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3622, allocations: 4 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3622, allocations: 4 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.3623, allocations: 24.84 kB / 1.295 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3625, allocations: 35.92 kB / 1.295 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.3637, allocations: 1.307 MB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.3639, allocations: 19.89 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3639, allocations: 4 kB / 1.296 GB, free: 15.11 MB / 0.9981 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.0001877/0.3641, allocations: 153.8 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3641, allocations: 23.78 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3642, allocations: 17.41 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3642, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3642, allocations: 3.984 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3642, allocations: 4.094 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/0.3648, allocations: 414.9 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3648, allocations: 0 / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.3649, allocations: 15.94 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/0.365, allocations: 20.84 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.365, allocations: 4 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3662, allocations: 1.299 MB / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3662, allocations: 0 / 1.298 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3665, allocations: 236.3 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.3666, allocations: 27.83 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3666, allocations: 4 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3667, allocations: 11.98 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3668, allocations: 3.938 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3668, allocations: 8.125 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001471/0.3669, allocations: 143.3 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3669, allocations: 0 / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003511/0.3673, allocations: 55.89 kB / 1.298 GB, free: 12.52 MB / 0.9981 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.0001275/0.3674, allocations: 99.23 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.3679, allocations: 231 kB / 1.299 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3679, allocations: 0 / 1.299 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.3681, allocations: 151 kB / 1.299 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3685, allocations: 35.84 kB / 1.299 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.3693, allocations: 451.8 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.3695, allocations: 140.2 kB / 1.299 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.3695, allocations: 19.44 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3695, allocations: 0 / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.006365/0.3759, allocations: 3.298 MB / 1.303 GB, free: 8.035 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.60793439205736]