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.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.00232/0.00232, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.003774/0.003774, allocations: 168.6 kB / 22.46 MB, free: 5.359 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.706/1.706, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.047/3.047, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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 1.983e-06/1.983e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.55e-05, allocations: 5.797 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006087/0.006122, allocations: 3.047 MB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.008965, allocations: 1.297 MB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.009216, allocations: 4 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.01051, allocations: 338.6 kB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.01106, allocations: 151 kB / 1.005 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.01158, allocations: 147.5 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.01216, allocations: 314.8 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.01267, allocations: 173.2 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.01304, allocations: 183.5 kB / 1.006 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.01346, allocations: 127.6 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.01351, allocations: 16 kB / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.01388, allocations: 147.6 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.01402, allocations: 87.72 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.01415, allocations: 79.83 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006594/0.01481, allocations: 343 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.01482, allocations: 4 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01482, allocations: 0 / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.01484, allocations: 0 / 1.006 GB, free: 0.8555 MB / 0.9512 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.001109/0.01595, allocations: 465.3 kB / 1.007 GB, free: 376 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.01599, allocations: 8.031 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000688/0.01667, allocations: 80.73 kB / 1.007 GB, free: 288 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.01707, allocations: 189.4 kB / 1.007 GB, free: 72 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.01709, allocations: 12.75 kB / 1.007 GB, free: 60 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.01713, allocations: 16.38 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.01775, allocations: 381.2 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.01776, allocations: 192 / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.0178, allocations: 8.359 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.01785, allocations: 28.3 kB / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.01821, allocations: 189 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.01979, allocations: 0.9851 MB / 1.009 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.02006, allocations: 90.55 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.02014, allocations: 32.89 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.02015, allocations: 3.984 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.02019, allocations: 38.5 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.02019, allocations: 0 / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006382/0.02083, allocations: 154.5 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.02091, allocations: 51.41 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.02123, allocations: 194.3 kB / 1.009 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.02126, allocations: 29.7 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.02147, allocations: 168 kB / 1.009 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.02151, allocations: 27.75 kB / 1.009 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.02159, allocations: 37.64 kB / 1.009 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.02181, allocations: 322.8 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.795e-05/0.02191, allocations: 35.89 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.02208, allocations: 104.5 kB / 1.01 GB, free: 13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.02236, allocations: 152.4 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.02236, allocations: 0 / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003962/0.02276, allocations: 194.1 kB / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.02279, allocations: 6.344 kB / 1.01 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.0228, allocations: 4.094 kB / 1.01 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.02305, allocations: 28.78 kB / 1.01 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.02319, allocations: 31.92 kB / 1.01 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.02481, allocations: 1.292 MB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.02495, allocations: 15.89 kB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.02496, allocations: 8 kB / 1.012 GB, free: 11.13 MB / 0.9669 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.0001977/0.02516, allocations: 141.8 kB / 1.012 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.02522, allocations: 11.91 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.02527, allocations: 17.45 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.02527, allocations: 11.88 kB / 1.012 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.02528, allocations: 4.125 kB / 1.012 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02528, allocations: 0 / 1.012 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.02588, allocations: 371.3 kB / 1.012 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.02589, allocations: 0 / 1.012 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.02593, allocations: 11.94 kB / 1.012 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-05/0.02602, allocations: 20.84 kB / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.02604, allocations: 8 kB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.02726, allocations: 1.288 MB / 1.013 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02726, allocations: 0 / 1.013 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.02751, allocations: 208.2 kB / 1.014 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.02756, allocations: 15.94 kB / 1.014 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.02757, allocations: 4 kB / 1.014 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02768, allocations: 7.938 kB / 1.014 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.02771, allocations: 11.97 kB / 1.014 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.02772, allocations: 4 kB / 1.014 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001189/0.02784, allocations: 136.4 kB / 1.014 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02784, allocations: 3.938 kB / 1.014 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000341/0.02818, allocations: 55.84 kB / 1.014 GB, free: 8.641 MB / 0.9669 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.0001537/0.02833, allocations: 93.67 kB / 1.014 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.02873, allocations: 206.5 kB / 1.014 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02874, allocations: 0.5625 kB / 1.014 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.0289, allocations: 142.7 kB / 1.014 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.02927, allocations: 23.98 kB / 1.014 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.02996, allocations: 350.3 kB / 1.015 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.03012, allocations: 139.8 kB / 1.015 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.895e-05/0.03021, allocations: 25.47 kB / 1.015 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.03025, allocations: 12.5 kB / 1.015 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.03025, allocations: 0 / 1.015 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.005865/0.03612, allocations: 1.635 MB / 1.016 GB, free: 5.988 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 800] 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.27343512326479]