Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002183/0.002183, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002676/0.002676, allocations: 213.3 kB / 22.24 MB, free: 4.855 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.672/1.672, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.766/3.766, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002145/0.002145, allocations: 69.77 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5387, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006226/0.5449, allocations: 3.194 MB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.5477, allocations: 1.399 MB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.5479, allocations: 7.938 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.5491, allocations: 330.8 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.5496, allocations: 155.2 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.55, allocations: 155.6 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.5505, allocations: 334.8 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.551, allocations: 192.1 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.5513, allocations: 155.4 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.5516, allocations: 143.4 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.5516, allocations: 20 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.552, allocations: 163.6 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.5521, allocations: 87.72 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.5522, allocations: 103.5 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.5528, allocations: 366.6 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.5528, allocations: 3.984 kB / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5528, allocations: 0 / 1.37 GB, free: 6.836 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.5528, allocations: 4 kB / 1.37 GB, free: 6.832 MB / 1.061 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.001069/0.5539, allocations: 477.4 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5539, allocations: 12.03 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.5546, allocations: 92.7 kB / 1.371 GB, free: 6.234 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.555, allocations: 214.7 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.5551, allocations: 12.81 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.5551, allocations: 20.38 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.5557, allocations: 393.7 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5557, allocations: 0 / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.5558, allocations: 8 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.5558, allocations: 20.42 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.5562, allocations: 209.6 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.5577, allocations: 1.026 MB / 1.373 GB, free: 4.215 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.5582, allocations: 122.5 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.5583, allocations: 36.84 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.5583, allocations: 8 kB / 1.373 GB, free: 4.039 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.5583, allocations: 34.56 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5583, allocations: 0 / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.5589, allocations: 186.2 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.559, allocations: 51.41 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.5592, allocations: 206.5 kB / 1.373 GB, free: 3.527 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.5592, allocations: 25.7 kB / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.5593, allocations: 180.1 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.5594, allocations: 31.78 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.5595, allocations: 45.66 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5596, allocations: 326.8 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.5597, allocations: 43.97 kB / 1.374 GB, free: 2.863 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.5599, allocations: 110.5 kB / 1.374 GB, free: 2.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.5602, allocations: 168.3 kB / 1.374 GB, free: 2.531 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5602, allocations: 0 / 1.374 GB, free: 2.531 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003876/0.5606, allocations: 218.4 kB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5606, allocations: 4 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5606, allocations: 4 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.5608, allocations: 28.83 kB / 1.375 GB, free: 2.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.561, allocations: 31.92 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.5622, allocations: 1.307 MB / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.5623, allocations: 15.92 kB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.5623, allocations: 12 kB / 1.376 GB, free: 0.8047 MB / 1.061 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.0001531/0.5625, allocations: 137.8 kB / 1.376 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.5625, allocations: 19.84 kB / 1.376 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.5626, allocations: 25.33 kB / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.5626, allocations: 0 / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5626, allocations: 64 / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5626, allocations: 4 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.5632, allocations: 414.9 kB / 1.376 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.5632, allocations: 7.984 kB / 1.376 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.5633, allocations: 15.92 kB / 1.377 GB, free: 144 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.004e-05/0.5634, allocations: 24.84 kB / 1.377 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5634, allocations: 0 / 1.377 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.5646, allocations: 1.296 MB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5646, allocations: 0 / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.5649, allocations: 236.3 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.565, allocations: 15.84 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.565, allocations: 11.98 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5651, allocations: 7.938 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.5651, allocations: 3.984 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5652, allocations: 8 kB / 1.378 GB, free: 14.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001444/0.5653, allocations: 148.3 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.5653, allocations: 0 / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003303/0.5656, allocations: 63.84 kB / 1.378 GB, free: 14.21 MB / 1.076 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.0001418/0.5658, allocations: 95.25 kB / 1.378 GB, free: 14.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.5662, allocations: 223 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5662, allocations: 8.125 kB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5665, allocations: 158.7 kB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.5669, allocations: 30.11 kB / 1.379 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.5677, allocations: 404.5 kB / 1.379 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.5679, allocations: 144.2 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.568, allocations: 33.45 kB / 1.379 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.568, allocations: 19.44 kB / 1.379 GB, free: 13.04 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.568, allocations: 0 / 1.379 GB, free: 13.04 MB / 1.076 GB Notification: Performance of Templates: time 0.006359/0.5744, allocations: 2.075 MB / 1.381 GB, free: 11.01 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.733387229964137]