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.001527/0.001527, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001684/0.001684, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.597/1.597, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.274/3.274, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.653e-06/1.653e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.361e-05, allocations: 4.562 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005773/0.005806, allocations: 3.05 MB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.008528, allocations: 1.302 MB / 0.8818 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.008669, allocations: 7.938 kB / 0.8818 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.009897, allocations: 339.6 kB / 0.8821 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.01032, allocations: 148.2 kB / 0.8823 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.01075, allocations: 136.6 kB / 0.8824 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.01123, allocations: 314.8 kB / 0.8827 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.0117, allocations: 185.7 kB / 0.8829 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.01197, allocations: 171.6 kB / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.01233, allocations: 128.6 kB / 0.8832 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.01238, allocations: 20 kB / 0.8832 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.01271, allocations: 161.2 kB / 0.8833 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.01283, allocations: 83.73 kB / 0.8834 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.01297, allocations: 79.83 kB / 0.8835 GB, free: 428 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.01351, allocations: 342.9 kB / 0.8838 GB, free: 84 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.01352, allocations: 4 kB / 0.8838 GB, free: 80 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01352, allocations: 0.5 kB / 0.8838 GB, free: 80 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.01353, allocations: 5.812 kB / 0.8838 GB, free: 76 kB / 0.8386 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.001044/0.01457, allocations: 449.6 kB / 0.8843 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.01462, allocations: 8.031 kB / 0.8843 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.01564, allocations: 122 kB / 0.8844 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.016, allocations: 187.1 kB / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.01602, allocations: 14.34 kB / 0.8846 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.01607, allocations: 24.36 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006184/0.01669, allocations: 373.3 kB / 0.885 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.0167, allocations: 192 / 0.885 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.01673, allocations: 10.84 kB / 0.885 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.01678, allocations: 24.3 kB / 0.885 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.01716, allocations: 196.9 kB / 0.8852 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.01874, allocations: 0.9909 MB / 0.8862 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.01901, allocations: 90.61 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.01909, allocations: 32.84 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.0191, allocations: 0.7188 kB / 0.8863 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.01913, allocations: 34.5 kB / 0.8863 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.01914, allocations: 5.188 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005598/0.0197, allocations: 146.4 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.01975, allocations: 55.41 kB / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.01999, allocations: 187.7 kB / 0.8867 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.02002, allocations: 29.7 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.02018, allocations: 176 kB / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.0202, allocations: 23.8 kB / 0.8869 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.02029, allocations: 41.66 kB / 0.8869 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.0205, allocations: 322.8 kB / 0.8872 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/0.02058, allocations: 35.98 kB / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.02072, allocations: 102.8 kB / 0.8874 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.02096, allocations: 152.4 kB / 0.8875 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.02096, allocations: 0 / 0.8875 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003753/0.02133, allocations: 194.2 kB / 0.8877 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.02136, allocations: 11.98 kB / 0.8877 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.02137, allocations: 7.984 kB / 0.8877 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/0.02164, allocations: 40.77 kB / 0.8878 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.02175, allocations: 20.28 kB / 0.8878 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.02328, allocations: 1.295 MB / 0.8891 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.02342, allocations: 27.8 kB / 0.8891 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.02343, allocations: 8 kB / 0.8891 GB, free: 10.3 MB / 0.8542 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.0001713/0.0236, allocations: 141.8 kB / 0.8892 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.02364, allocations: 12.11 kB / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.02368, allocations: 21.47 kB / 0.8893 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.02369, allocations: 11.92 kB / 0.8893 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.02369, allocations: 0 / 0.8893 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.02369, allocations: 0 / 0.8893 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.02429, allocations: 367.2 kB / 0.8896 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02429, allocations: 0 / 0.8896 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.02433, allocations: 11.98 kB / 0.8896 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.02451, allocations: 36.83 kB / 0.8897 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.02452, allocations: 0 / 0.8897 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.02579, allocations: 1.288 MB / 0.8909 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.02579, allocations: 3.984 kB / 0.8909 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.02608, allocations: 204.2 kB / 0.8911 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.02614, allocations: 27.98 kB / 0.8911 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.02616, allocations: 4 kB / 0.8912 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.02627, allocations: 7.938 kB / 0.8912 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.02631, allocations: 15.92 kB / 0.8912 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.02631, allocations: 4 kB / 0.8912 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004374/0.02675, allocations: 135.2 kB / 0.8913 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02675, allocations: 0 / 0.8913 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003662/0.02712, allocations: 55.89 kB / 0.8914 GB, free: 7.805 MB / 0.8542 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.0001465/0.02726, allocations: 95.25 kB / 0.8915 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.0277, allocations: 202.5 kB / 0.8916 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0277, allocations: 0 / 0.8916 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.02789, allocations: 154.5 kB / 0.8918 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.02827, allocations: 23.92 kB / 0.8918 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.02901, allocations: 353.6 kB / 0.8922 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.02919, allocations: 135.9 kB / 0.8923 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.141e-05/0.02928, allocations: 21.48 kB / 0.8923 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.02933, allocations: 16.5 kB / 0.8923 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.02933, allocations: 0 / 0.8923 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of Templates: time 0.005751/0.03509, allocations: 1.669 MB / 0.8939 GB, free: 5.121 MB / 0.8542 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: 8.849849088001065]