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.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.00156/0.00156, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002061/0.002061, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.355/3.355, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 65.89 kB / 1.145 GB, free: 30.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4795, allocations: 174.9 MB / 1.316 GB, free: 9.762 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006067/0.4855, allocations: 3.32 MB / 1.319 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002809/0.4883, allocations: 1.43 MB / 1.321 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.4885, allocations: 11.94 kB / 1.321 GB, free: 4.977 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001305/0.4898, allocations: 350.6 kB / 1.321 GB, free: 4.633 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.4903, allocations: 159.2 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.4907, allocations: 151.6 kB / 1.321 GB, free: 4.328 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005013/0.4912, allocations: 334.6 kB / 1.322 GB, free: 4 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.4917, allocations: 172.2 kB / 1.322 GB, free: 3.824 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.4919, allocations: 143.5 kB / 1.322 GB, free: 3.684 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.4923, allocations: 155.5 kB / 1.322 GB, free: 3.531 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.4923, allocations: 20 kB / 1.322 GB, free: 3.512 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.4927, allocations: 183.5 kB / 1.322 GB, free: 3.332 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4928, allocations: 83.73 kB / 1.322 GB, free: 3.25 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.493, allocations: 119.4 kB / 1.322 GB, free: 3.133 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.4935, allocations: 358.7 kB / 1.323 GB, free: 2.781 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4935, allocations: 0 / 1.323 GB, free: 2.781 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.4935, allocations: 3.938 kB / 1.323 GB, free: 2.777 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.428e-06/0.4935, allocations: 0 / 1.323 GB, free: 2.777 MB / 1.014 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.001094/0.4946, allocations: 489.3 kB / 1.323 GB, free: 2.27 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4947, allocations: 12.03 kB / 1.323 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006552/0.4953, allocations: 80.72 kB / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.4957, allocations: 195 kB / 1.324 GB, free: 1.965 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4957, allocations: 12.81 kB / 1.324 GB, free: 1.953 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4958, allocations: 16.38 kB / 1.324 GB, free: 1.938 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.4963, allocations: 324.6 kB / 1.324 GB, free: 1.594 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4964, allocations: 0 / 1.324 GB, free: 1.594 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.4964, allocations: 8 kB / 1.324 GB, free: 1.586 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.4964, allocations: 20.42 kB / 1.324 GB, free: 1.566 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.4968, allocations: 209.5 kB / 1.324 GB, free: 1.359 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.4987, allocations: 1.475 MB / 1.326 GB, free: 15.73 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.4991, allocations: 118.6 kB / 1.326 GB, free: 15.6 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4993, allocations: 44.83 kB / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4993, allocations: 3.938 kB / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4993, allocations: 34.56 kB / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.4993, allocations: 0 / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of matching and sorting (n=8): time 0.0006084/0.4999, allocations: 182.3 kB / 1.326 GB, free: 15.32 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.5, allocations: 55.41 kB / 1.326 GB, free: 15.25 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5002, allocations: 199.9 kB / 1.326 GB, free: 15.05 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5002, allocations: 25.7 kB / 1.326 GB, free: 15.02 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.5003, allocations: 183.9 kB / 1.326 GB, free: 14.84 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.5004, allocations: 31.78 kB / 1.326 GB, free: 14.8 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.5004, allocations: 33.67 kB / 1.326 GB, free: 14.77 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001837/0.5006, allocations: 334.8 kB / 1.327 GB, free: 14.43 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5007, allocations: 43.97 kB / 1.327 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.5009, allocations: 110.2 kB / 1.327 GB, free: 14.25 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.5012, allocations: 168.4 kB / 1.327 GB, free: 14.05 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5012, allocations: 11.94 kB / 1.327 GB, free: 14.04 MB / 1.029 GB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004067/0.5016, allocations: 210.1 kB / 1.327 GB, free: 13.83 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5016, allocations: 8 kB / 1.327 GB, free: 13.82 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5016, allocations: 0 / 1.327 GB, free: 13.82 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.5018, allocations: 29.12 kB / 1.327 GB, free: 13.79 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.502, allocations: 39.86 kB / 1.327 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.5032, allocations: 1.326 MB / 1.329 GB, free: 12.31 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.5033, allocations: 23.84 kB / 1.329 GB, free: 12.29 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5034, allocations: 7.984 kB / 1.329 GB, free: 12.28 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.0001637/0.5035, allocations: 157.1 kB / 1.329 GB, free: 12.12 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.5036, allocations: 15.91 kB / 1.329 GB, free: 12.11 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.5036, allocations: 25.58 kB / 1.329 GB, free: 12.08 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5036, allocations: 3.938 kB / 1.329 GB, free: 12.07 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5036, allocations: 0 / 1.329 GB, free: 12.07 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5036, allocations: 0 / 1.329 GB, free: 12.07 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.5043, allocations: 458.3 kB / 1.329 GB, free: 11.57 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5043, allocations: 0 / 1.329 GB, free: 11.57 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.5043, allocations: 11.98 kB / 1.329 GB, free: 11.56 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-05/0.5044, allocations: 28.84 kB / 1.329 GB, free: 11.53 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5044, allocations: 0 / 1.329 GB, free: 11.53 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.5056, allocations: 1.33 MB / 1.331 GB, free: 10.08 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5056, allocations: 0 / 1.331 GB, free: 10.08 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.5059, allocations: 240.6 kB / 1.331 GB, free: 9.828 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.506, allocations: 19.91 kB / 1.331 GB, free: 9.809 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.506, allocations: 4.094 kB / 1.331 GB, free: 9.805 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5061, allocations: 7.984 kB / 1.331 GB, free: 9.797 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.5062, allocations: 7.984 kB / 1.331 GB, free: 9.789 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.5062, allocations: 12 kB / 1.331 GB, free: 9.777 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0001484/0.5063, allocations: 148.2 kB / 1.331 GB, free: 9.633 MB / 1.029 GB
Notification: Performance of sort global known variables: time 6e-08/0.5063, allocations: 0 / 1.331 GB, free: 9.633 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003417/0.5067, allocations: 59.83 kB / 1.331 GB, free: 9.574 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.0001454/0.5068, allocations: 95.25 kB / 1.331 GB, free: 9.469 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0005308/0.5074, allocations: 230.5 kB / 1.331 GB, free: 9.23 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5074, allocations: 0 / 1.331 GB, free: 9.23 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.5076, allocations: 159.2 kB / 1.332 GB, free: 9.062 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.508, allocations: 35.23 kB / 1.332 GB, free: 9.031 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008439/0.5088, allocations: 400 kB / 1.332 GB, free: 8.617 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.5093, allocations: 0.7554 MB / 1.333 GB, free: 7.836 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001046/0.5094, allocations: 29.47 kB / 1.333 GB, free: 7.809 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.5094, allocations: 15.44 kB / 1.333 GB, free: 7.797 MB / 1.029 GB
Notification: Performance of SimCode: time 2.9e-07/0.5094, allocations: 192 / 1.333 GB, free: 7.797 MB / 1.029 GB
Notification: Performance of Templates: time 0.006645/0.5161, allocations: 2.05 MB / 1.335 GB, free: 5.77 MB / 1.029 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: 9.989634554833174]