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.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.002205/0.002205, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002777/0.002777, allocations: 185.6 kB / 22.23 MB, free: 5.133 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 496 MB / 0.7835 GB, free: 33.68 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-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.86 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4847, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006415/0.4911, allocations: 3.329 MB / 1.311 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002927/0.4941, allocations: 1.426 MB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.4944, allocations: 7.938 kB / 1.312 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001451/0.4958, allocations: 342.7 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.4965, allocations: 163.2 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.4971, allocations: 143.6 kB / 1.313 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0007649/0.4979, allocations: 334.6 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005623/0.4984, allocations: 184.2 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000381/0.4988, allocations: 139.5 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.4993, allocations: 163.4 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.4994, allocations: 20 kB / 1.313 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.4998, allocations: 175.6 kB / 1.314 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.5, allocations: 91.72 kB / 1.314 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.5001, allocations: 119.4 kB / 1.314 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006675/0.5008, allocations: 350.7 kB / 1.314 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.5008, allocations: 7.938 kB / 1.314 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.472e-06/0.5008, allocations: 4 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.047e-06/0.5008, allocations: 0 / 1.314 GB, free: 10.86 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.001011/0.5018, allocations: 481.3 kB / 1.315 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5019, allocations: 12.92 kB / 1.315 GB, free: 10.35 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.5025, allocations: 84.72 kB / 1.315 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.5029, allocations: 198.1 kB / 1.315 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.5029, allocations: 16.81 kB / 1.315 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.5029, allocations: 16.38 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.5035, allocations: 324.5 kB / 1.315 GB, free: 9.676 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5035, allocations: 0 / 1.315 GB, free: 9.676 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.5036, allocations: 7.984 kB / 1.315 GB, free: 9.668 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/0.5036, allocations: 24.42 kB / 1.315 GB, free: 9.645 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.504, allocations: 205.6 kB / 1.315 GB, free: 9.441 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.5059, allocations: 1.467 MB / 1.317 GB, free: 7.812 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.5063, allocations: 122.6 kB / 1.317 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.5064, allocations: 32.84 kB / 1.317 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5064, allocations: 8 kB / 1.317 GB, free: 7.641 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.5065, allocations: 38.55 kB / 1.317 GB, free: 7.594 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.5065, allocations: 0 / 1.317 GB, free: 7.594 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0005793/0.507, allocations: 182.3 kB / 1.317 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.5071, allocations: 59.41 kB / 1.317 GB, free: 7.336 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.5073, allocations: 203.8 kB / 1.317 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.5073, allocations: 25.7 kB / 1.317 GB, free: 7.098 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5075, allocations: 175.9 kB / 1.318 GB, free: 6.922 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.5075, allocations: 27.8 kB / 1.318 GB, free: 6.895 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.5076, allocations: 37.66 kB / 1.318 GB, free: 6.852 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001572/0.5077, allocations: 330.8 kB / 1.318 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.5079, allocations: 43.97 kB / 1.318 GB, free: 6.477 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.508, allocations: 114.7 kB / 1.318 GB, free: 6.336 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.5083, allocations: 168.4 kB / 1.318 GB, free: 6.141 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5083, allocations: 3.938 kB / 1.318 GB, free: 6.137 MB / 1.014 GB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004043/0.5087, allocations: 222.1 kB / 1.319 GB, free: 5.91 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.5087, allocations: 4 kB / 1.319 GB, free: 5.906 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5087, allocations: 4 kB / 1.319 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.5089, allocations: 21.12 kB / 1.319 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.509, allocations: 43.86 kB / 1.319 GB, free: 5.836 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.5102, allocations: 1.334 MB / 1.32 GB, free: 4.391 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5104, allocations: 15.89 kB / 1.32 GB, free: 4.375 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5104, allocations: 8 kB / 1.32 GB, free: 4.367 MB / 1.014 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.0001638/0.5106, allocations: 150.5 kB / 1.32 GB, free: 4.211 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.5106, allocations: 19.86 kB / 1.32 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.5106, allocations: 25.39 kB / 1.32 GB, free: 4.164 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5106, allocations: 8 kB / 1.32 GB, free: 4.156 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5106, allocations: 0 / 1.32 GB, free: 4.156 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5106, allocations: 0 / 1.32 GB, free: 4.156 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.5113, allocations: 454.3 kB / 1.321 GB, free: 3.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5113, allocations: 0 / 1.321 GB, free: 3.66 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.5114, allocations: 15.98 kB / 1.321 GB, free: 3.645 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.5114, allocations: 24.84 kB / 1.321 GB, free: 3.617 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5115, allocations: 4 kB / 1.321 GB, free: 3.613 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.5125, allocations: 1.322 MB / 1.322 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5125, allocations: 0 / 1.322 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.5128, allocations: 240.2 kB / 1.322 GB, free: 1.922 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.5129, allocations: 31.81 kB / 1.322 GB, free: 1.891 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5129, allocations: 96 / 1.322 GB, free: 1.891 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.513, allocations: 8 kB / 1.322 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.5131, allocations: 7.984 kB / 1.322 GB, free: 1.875 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.5131, allocations: 4 kB / 1.322 GB, free: 1.871 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001438/0.5132, allocations: 149.5 kB / 1.322 GB, free: 1.727 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.5132, allocations: 0 / 1.322 GB, free: 1.727 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003434/0.5136, allocations: 59.83 kB / 1.322 GB, free: 1.668 MB / 1.014 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.0001413/0.5137, allocations: 103.2 kB / 1.322 GB, free: 1.555 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004742/0.5142, allocations: 226.5 kB / 1.323 GB, free: 1.32 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5142, allocations: 4.281 kB / 1.323 GB, free: 1.316 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.5144, allocations: 154.6 kB / 1.323 GB, free: 1.152 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.5148, allocations: 45.17 kB / 1.323 GB, free: 1.109 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.5156, allocations: 400 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.5161, allocations: 0.7593 MB / 1.324 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 9.935e-05/0.5162, allocations: 29.47 kB / 1.324 GB, free: 15.88 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.5162, allocations: 11.44 kB / 1.324 GB, free: 15.87 MB / 1.029 GB
Notification: Performance of SimCode: time 3.01e-07/0.5162, allocations: 0 / 1.324 GB, free: 15.87 MB / 1.029 GB
Notification: Performance of Templates: time 0.006264/0.5225, allocations: 2.056 MB / 1.326 GB, free: 13.84 MB / 1.029 GB
"
[Timeout remaining time 299]
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  -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/jenkins/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: 10.084350715391338]