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.001943/0.001943, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002449/0.002449, allocations: 190.8 kB / 22.1 MB, free: 4.227 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.667/1.667, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.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.267/3.267, allocations: 495.8 MB / 0.783 GB, free: 12.26 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.002185/0.002185, allocations: 63.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.428/1.43, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004994/1.435, allocations: 3.312 MB / 1.31 GB, free: 31.6 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.002345/1.437, allocations: 1.426 MB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/1.438, allocations: 6.875 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.00111/1.439, allocations: 346 kB / 1.312 GB, free: 30.43 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003805/1.439, allocations: 151.1 kB / 1.312 GB, free: 30.34 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004004/1.439, allocations: 149.9 kB / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0003782/1.44, allocations: 335.4 kB / 1.312 GB, free: 30.11 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/1.44, allocations: 180.3 kB / 1.312 GB, free: 30.02 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/1.44, allocations: 144.9 kB / 1.313 GB, free: 29.96 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/1.441, allocations: 164.2 kB / 1.313 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.659e-05/1.441, allocations: 19.22 kB / 1.313 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/1.441, allocations: 147.2 kB / 1.313 GB, free: 29.84 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 8.879e-05/1.441, allocations: 87.8 kB / 1.313 GB, free: 29.81 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001141/1.441, allocations: 131.7 kB / 1.313 GB, free: 29.73 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004412/1.442, allocations: 357.4 kB / 1.313 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.442, allocations: 0 / 1.313 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.054e-06/1.442, allocations: 0 / 1.313 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.402e-05/1.442, allocations: 0 / 1.313 GB, free: 29.61 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.0009221/1.443, allocations: 475.1 kB / 1.314 GB, free: 29.23 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.443, allocations: 12.19 kB / 1.314 GB, free: 29.23 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/1.443, allocations: 90.41 kB / 1.314 GB, free: 29.2 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/1.444, allocations: 189.3 kB / 1.314 GB, free: 29.04 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.444, allocations: 17.73 kB / 1.314 GB, free: 29.03 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/1.444, allocations: 23.91 kB / 1.314 GB, free: 29.02 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/1.444, allocations: 321.8 kB / 1.315 GB, free: 28.85 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.444, allocations: 0 / 1.315 GB, free: 28.85 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/1.444, allocations: 6.844 kB / 1.315 GB, free: 28.84 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/1.444, allocations: 23.09 kB / 1.315 GB, free: 28.84 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/1.445, allocations: 207 kB / 1.315 GB, free: 28.77 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/1.446, allocations: 1.459 MB / 1.316 GB, free: 27.45 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000418/1.446, allocations: 122.1 kB / 1.316 GB, free: 27.39 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/1.446, allocations: 37.22 kB / 1.316 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/1.447, allocations: 4 kB / 1.316 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.447, allocations: 40.64 kB / 1.316 GB, free: 27.33 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=8): time 1.192e-06/1.447, allocations: 0 / 1.316 GB, free: 27.33 MB / 1.061 GB
Notification: Performance of matching and sorting (n=8): time 0.0005643/1.447, allocations: 186.8 kB / 1.317 GB, free: 27.24 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/1.447, allocations: 51.41 kB / 1.317 GB, free: 27.18 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.447, allocations: 208.1 kB / 1.317 GB, free: 27.04 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.458e-05/1.447, allocations: 25.7 kB / 1.317 GB, free: 27.01 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/1.447, allocations: 183.1 kB / 1.317 GB, free: 26.86 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/1.447, allocations: 29.94 kB / 1.317 GB, free: 26.83 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.759e-05/1.447, allocations: 39.2 kB / 1.317 GB, free: 26.8 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 6.95e-05/1.448, allocations: 328.9 kB / 1.317 GB, free: 26.48 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/1.448, allocations: 44.03 kB / 1.317 GB, free: 26.47 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/1.448, allocations: 119.3 kB / 1.318 GB, free: 26.36 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/1.448, allocations: 165.1 kB / 1.318 GB, free: 26.24 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.448, allocations: 0 / 1.318 GB, free: 26.24 MB / 1.061 GB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003474/1.448, allocations: 216.8 kB / 1.318 GB, free: 26.13 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.448, allocations: 5.25 kB / 1.318 GB, free: 26.13 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.448, allocations: 2.625 kB / 1.318 GB, free: 26.13 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/1.449, allocations: 28.88 kB / 1.318 GB, free: 26.12 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.449, allocations: 39.59 kB / 1.318 GB, free: 26.11 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000872/1.45, allocations: 1.329 MB / 1.319 GB, free: 24.81 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/1.45, allocations: 17.89 kB / 1.319 GB, free: 24.8 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/1.45, allocations: 8.062 kB / 1.319 GB, free: 24.8 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.0001245/1.45, allocations: 152.8 kB / 1.319 GB, free: 24.66 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/1.45, allocations: 20.72 kB / 1.319 GB, free: 24.65 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/1.45, allocations: 16.41 kB / 1.32 GB, free: 24.64 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.45, allocations: 64 / 1.32 GB, free: 24.64 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.45, allocations: 10.48 kB / 1.32 GB, free: 24.63 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.45, allocations: 0 / 1.32 GB, free: 24.63 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/1.45, allocations: 456.5 kB / 1.32 GB, free: 24.29 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.45, allocations: 7.156 kB / 1.32 GB, free: 24.28 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/1.451, allocations: 15.22 kB / 1.32 GB, free: 24.28 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.061e-05/1.451, allocations: 23.52 kB / 1.32 GB, free: 24.27 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.451, allocations: 4 kB / 1.32 GB, free: 24.26 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007073/1.451, allocations: 1.325 MB / 1.321 GB, free: 22.96 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.451, allocations: 0 / 1.321 GB, free: 22.96 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/1.452, allocations: 238.1 kB / 1.322 GB, free: 22.78 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/1.452, allocations: 25.14 kB / 1.322 GB, free: 22.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/1.452, allocations: 6.875 kB / 1.322 GB, free: 22.76 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.452, allocations: 10.38 kB / 1.322 GB, free: 22.76 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/1.452, allocations: 13.92 kB / 1.322 GB, free: 22.75 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/1.452, allocations: 2.875 kB / 1.322 GB, free: 22.75 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0001097/1.452, allocations: 151.2 kB / 1.322 GB, free: 22.65 MB / 1.061 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.452, allocations: 0 / 1.322 GB, free: 22.65 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003407/1.452, allocations: 58.67 kB / 1.322 GB, free: 22.64 MB / 1.061 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.0001051/1.452, allocations: 98.75 kB / 1.322 GB, free: 22.55 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0004385/1.453, allocations: 225.9 kB / 1.322 GB, free: 22.4 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.453, allocations: 0 / 1.322 GB, free: 22.4 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001728/1.453, allocations: 156.5 kB / 1.322 GB, free: 22.27 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/1.453, allocations: 34.45 kB / 1.322 GB, free: 22.26 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/1.454, allocations: 416.3 kB / 1.323 GB, free: 22 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/1.454, allocations: 0.7537 MB / 1.323 GB, free: 21.3 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 9.049e-05/1.455, allocations: 25.39 kB / 1.323 GB, free: 21.29 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/1.455, allocations: 17.03 kB / 1.323 GB, free: 21.29 MB / 1.061 GB
Notification: Performance of SimCode: time 3.81e-07/1.455, allocations: 0 / 1.323 GB, free: 21.29 MB / 1.061 GB
Notification: Performance of Templates: time 0.005679/1.46, allocations: 2.055 MB / 1.325 GB, free: 21.11 MB / 1.061 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: 11.20716955512762]