Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002037/0.002037, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002165/0.002165, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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.472/1.472, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.866e-05, allocations: 9.203 kB / 0.7863 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.009488/0.009526, allocations: 3.046 MB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004798/0.01432, allocations: 1.305 MB / 0.7906 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.01455, allocations: 4 kB / 0.7906 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.01644, allocations: 336.6 kB / 0.7909 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.01723, allocations: 156.6 kB / 0.7911 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.018, allocations: 141 kB / 0.7912 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007951/0.01879, allocations: 310.9 kB / 0.7915 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.01944, allocations: 184.6 kB / 0.7917 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.01994, allocations: 178.9 kB / 0.7919 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.02049, allocations: 123.6 kB / 0.792 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.02057, allocations: 20 kB / 0.792 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.02113, allocations: 155.6 kB / 0.7921 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.02132, allocations: 87.73 kB / 0.7922 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.02154, allocations: 75.83 kB / 0.7923 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008791/0.02242, allocations: 346.9 kB / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.02243, allocations: 0 / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/0.02243, allocations: 0 / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.02244, allocations: 4.906 kB / 0.7926 GB, free: 6.398 MB / 0.7448 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.001451/0.02389, allocations: 446.8 kB / 0.7931 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.02395, allocations: 12.03 kB / 0.7931 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.0252, allocations: 118 kB / 0.7932 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.02578, allocations: 196.9 kB / 0.7934 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.02581, allocations: 12.75 kB / 0.7934 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.02587, allocations: 20.38 kB / 0.7934 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.02685, allocations: 374.1 kB / 0.7938 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.02687, allocations: 4.125 kB / 0.7938 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.02692, allocations: 13.03 kB / 0.7938 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.02698, allocations: 16.31 kB / 0.7938 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006567/0.02764, allocations: 198.2 kB / 0.794 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.03027, allocations: 0.9826 MB / 0.7949 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.03069, allocations: 96.75 kB / 0.795 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.0308, allocations: 28.8 kB / 0.7951 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.03081, allocations: 0 / 0.7951 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.03086, allocations: 46.48 kB / 0.7951 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.03087, allocations: 0 / 0.7951 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0008119/0.03168, allocations: 153 kB / 0.7952 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.03175, allocations: 55.34 kB / 0.7953 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.03213, allocations: 191.7 kB / 0.7955 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.03217, allocations: 29.7 kB / 0.7955 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.03238, allocations: 164 kB / 0.7957 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.03243, allocations: 33.36 kB / 0.7957 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.03255, allocations: 29.72 kB / 0.7957 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.03282, allocations: 322.8 kB / 0.796 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.03297, allocations: 35.97 kB / 0.7961 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.03321, allocations: 103.4 kB / 0.7962 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.03362, allocations: 153.2 kB / 0.7963 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.03363, allocations: 3.938 kB / 0.7963 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007037/0.03433, allocations: 203.7 kB / 0.7965 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.03435, allocations: 4 kB / 0.7965 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.03436, allocations: 4 kB / 0.7965 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.03475, allocations: 35.48 kB / 0.7966 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.03501, allocations: 35.92 kB / 0.7966 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.03741, allocations: 1.291 MB / 0.7978 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.03765, allocations: 15.89 kB / 0.7979 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.03767, allocations: 8 kB / 0.7979 GB, free: 0.6562 MB / 0.7448 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.0002622/0.03793, allocations: 149.8 kB / 0.798 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.363e-05/0.03802, allocations: 15.91 kB / 0.798 GB, free: 496 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.03807, allocations: 18.66 kB / 0.798 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.03808, allocations: 11.88 kB / 0.7981 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.03808, allocations: 0 / 0.7981 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.03809, allocations: 5.016 kB / 0.7981 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.03903, allocations: 359 kB / 0.7984 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.03903, allocations: 1.062 kB / 0.7984 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.03911, allocations: 11.92 kB / 0.7984 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/0.0394, allocations: 31.09 kB / 0.7984 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.03942, allocations: 7.984 kB / 0.7985 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.04153, allocations: 1.281 MB / 0.7997 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.04154, allocations: 0.7812 kB / 0.7997 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.04203, allocations: 220.2 kB / 0.7999 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.04212, allocations: 16.5 kB / 0.7999 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.04215, allocations: 5.094 kB / 0.7999 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.04237, allocations: 7.938 kB / 0.7999 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.0424, allocations: 7.922 kB / 0.8 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.04242, allocations: 4.656 kB / 0.8 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002384/0.04266, allocations: 136.9 kB / 0.8001 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.81e-07/0.04266, allocations: 0 / 0.8001 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006638/0.04332, allocations: 59.84 kB / 0.8001 GB, free: 14.16 MB / 0.7605 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.0001923/0.04351, allocations: 99.19 kB / 0.8002 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.04419, allocations: 202.5 kB / 0.8004 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.04419, allocations: 0 / 0.8004 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.04453, allocations: 143.2 kB / 0.8006 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.04516, allocations: 31.98 kB / 0.8006 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.04635, allocations: 345.6 kB / 0.8009 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.04665, allocations: 143.8 kB / 0.8011 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.04682, allocations: 25.47 kB / 0.8011 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.04689, allocations: 16.5 kB / 0.8011 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of SimCode: time 5.91e-07/0.04689, allocations: 4 kB / 0.8011 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.00958/0.05647, allocations: 1.666 MB / 0.8027 GB, free: 11.47 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.730443448992446]