Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001364/0.001364, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001336/0.001336, allocations: 190.9 kB / 19.4 MB, free: 3.68 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.295/3.295, allocations: 496.1 MB / 0.7801 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 65.78 kB / 1.133 GB, free: 34.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4065, allocations: 173.7 MB / 1.303 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005518/0.4121, allocations: 3.106 MB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.4144, allocations: 1.363 MB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.4145, allocations: 4 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.4156, allocations: 346.7 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.4159, allocations: 147.3 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.4163, allocations: 135.6 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.4166, allocations: 306.9 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.417, allocations: 196.1 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.4172, allocations: 123.6 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.4175, allocations: 147.5 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.4175, allocations: 16 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.4178, allocations: 163.6 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.4179, allocations: 91.72 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.4181, allocations: 115.5 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.4186, allocations: 338.8 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4186, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4186, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4186, allocations: 0 / 1.309 GB, free: 12.06 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008888/0.4195, allocations: 0.5143 MB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.4195, allocations: 15.97 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.4201, allocations: 80.7 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.4204, allocations: 249.5 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.4204, allocations: 12.75 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.4205, allocations: 20.38 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.421, allocations: 299.5 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.421, allocations: 7.875 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.421, allocations: 4 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.4211, allocations: 24.36 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.4214, allocations: 193 kB / 1.31 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.4232, allocations: 1.464 MB / 1.312 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.4235, allocations: 171.7 kB / 1.312 GB, free: 8.727 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.4236, allocations: 32.83 kB / 1.312 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.4236, allocations: 3.984 kB / 1.312 GB, free: 8.688 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4236, allocations: 34.56 kB / 1.312 GB, free: 8.645 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4236, allocations: 0 / 1.312 GB, free: 8.645 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0005096/0.4241, allocations: 223.5 kB / 1.312 GB, free: 8.398 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4241, allocations: 51.41 kB / 1.312 GB, free: 8.336 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.4244, allocations: 205 kB / 1.313 GB, free: 8.129 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.4244, allocations: 25.7 kB / 1.313 GB, free: 8.098 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4245, allocations: 164 kB / 1.313 GB, free: 7.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4245, allocations: 35.88 kB / 1.313 GB, free: 7.898 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.4246, allocations: 33.72 kB / 1.313 GB, free: 7.859 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4248, allocations: 334.8 kB / 1.313 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.4248, allocations: 27.98 kB / 1.313 GB, free: 7.496 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.425, allocations: 100.6 kB / 1.313 GB, free: 7.367 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.4252, allocations: 144.5 kB / 1.313 GB, free: 7.195 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.4252, allocations: 0 / 1.313 GB, free: 7.195 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003858/0.4256, allocations: 186.2 kB / 1.314 GB, free: 7.004 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4256, allocations: 15.92 kB / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4256, allocations: 8.281 kB / 1.314 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.4257, allocations: 28.94 kB / 1.314 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4259, allocations: 23.94 kB / 1.314 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.4272, allocations: 1.427 MB / 1.315 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4273, allocations: 23.88 kB / 1.315 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4273, allocations: 4 kB / 1.315 GB, free: 5.332 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 (17): * Single equations (assignments): 16 * 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.0001457/0.4275, allocations: 151.6 kB / 1.315 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.4275, allocations: 16.05 kB / 1.315 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.4275, allocations: 17.39 kB / 1.315 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4275, allocations: 4 kB / 1.315 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4275, allocations: 0 / 1.315 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4275, allocations: 0 / 1.315 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.4281, allocations: 447.2 kB / 1.316 GB, free: 4.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4281, allocations: 0 / 1.316 GB, free: 4.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.4281, allocations: 8 kB / 1.316 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.169e-05/0.4282, allocations: 24.84 kB / 1.316 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.4282, allocations: 4 kB / 1.316 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4294, allocations: 1.422 MB / 1.317 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4294, allocations: 0 / 1.317 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4296, allocations: 216.2 kB / 1.317 GB, free: 2.816 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.4297, allocations: 101 kB / 1.317 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.4297, allocations: 96 / 1.317 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4298, allocations: 8 kB / 1.317 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.4298, allocations: 4 kB / 1.317 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.4298, allocations: 4 kB / 1.317 GB, free: 2.684 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001458/0.43, allocations: 147.1 kB / 1.318 GB, free: 2.539 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/0.43, allocations: 0 / 1.318 GB, free: 2.539 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003294/0.4303, allocations: 51.89 kB / 1.318 GB, free: 2.488 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 (6): * Single equations (assignments): 5 * 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.0001325/0.4305, allocations: 103.2 kB / 1.318 GB, free: 2.375 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.4309, allocations: 202.5 kB / 1.318 GB, free: 2.164 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4309, allocations: 0 / 1.318 GB, free: 2.164 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.4311, allocations: 150.6 kB / 1.318 GB, free: 2.004 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4314, allocations: 36.89 kB / 1.318 GB, free: 1.973 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.4321, allocations: 362.1 kB / 1.318 GB, free: 1.594 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.4325, allocations: 0.7475 MB / 1.319 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.662e-05/0.4326, allocations: 25.52 kB / 1.319 GB, free: 0.793 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.4326, allocations: 15.38 kB / 1.319 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.4326, allocations: 4 kB / 1.319 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of Templates: time 0.005449/0.4381, allocations: 1.8 MB / 1.321 GB, free: 15 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.195822209119797]