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.001086/0.001086, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002313, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007102/0.0007102, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009946/0.001705, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.909/0.909, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09247/1.001, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.557/2.557, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3273/2.884, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.403e-06/1.403e-06, allocations: 0 / 0.8189 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.197e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00352/0.003541, allocations: 2.661 MB / 0.8215 GB, free: 15.87 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.005118, allocations: 1.02 MB / 0.8225 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005268, allocations: 4 kB / 0.8225 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.005698, allocations: 115.4 kB / 0.8226 GB, free: 14.73 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.005989, allocations: 159 kB / 0.8228 GB, free: 14.57 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.006263, allocations: 103.7 kB / 0.8229 GB, free: 14.47 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.006691, allocations: 350.7 kB / 0.8232 GB, free: 14.12 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.006959, allocations: 177.9 kB / 0.8234 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.007208, allocations: 199.6 kB / 0.8236 GB, free: 13.76 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.007519, allocations: 147.6 kB / 0.8237 GB, free: 13.61 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.007553, allocations: 20 kB / 0.8237 GB, free: 13.59 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.007755, allocations: 91.67 kB / 0.8238 GB, free: 13.5 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.007832, allocations: 75.84 kB / 0.8239 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.007899, allocations: 63.88 kB / 0.8239 GB, free: 13.37 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.008204, allocations: 215.2 kB / 0.8241 GB, free: 13.16 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/0.008219, allocations: 0 / 0.8241 GB, free: 13.16 MB / 0.8074 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00822, allocations: 0 / 0.8241 GB, free: 13.16 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.008234, allocations: 4 kB / 0.8241 GB, free: 13.15 MB / 0.8074 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.0006906/0.008924, allocations: 459.9 kB / 0.8246 GB, free: 12.68 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.008961, allocations: 16.02 kB / 0.8246 GB, free: 12.66 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.009419, allocations: 181.8 kB / 0.8248 GB, free: 12.46 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.009674, allocations: 181.4 kB / 0.8249 GB, free: 12.26 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.009689, allocations: 8.75 kB / 0.825 GB, free: 12.25 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.009713, allocations: 20.38 kB / 0.825 GB, free: 12.23 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.009981, allocations: 280.1 kB / 0.8252 GB, free: 11.91 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.009991, allocations: 192 / 0.8252 GB, free: 11.91 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.01001, allocations: 8.375 kB / 0.8253 GB, free: 11.91 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.01004, allocations: 20.3 kB / 0.8253 GB, free: 11.89 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.01013, allocations: 60.97 kB / 0.8253 GB, free: 11.83 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.011, allocations: 0.9039 MB / 0.8262 GB, free: 10.88 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.01115, allocations: 57.38 kB / 0.8263 GB, free: 10.81 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.01117, allocations: 20.8 kB / 0.8263 GB, free: 10.79 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.01118, allocations: 0 / 0.8263 GB, free: 10.79 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.0112, allocations: 34.56 kB / 0.8263 GB, free: 10.74 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.01121, allocations: 0 / 0.8263 GB, free: 10.74 MB / 0.8074 GB Notification: Performance of matching and sorting (n=7): time 0.0002659/0.01147, allocations: 106.7 kB / 0.8264 GB, free: 10.63 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.0115, allocations: 55.41 kB / 0.8265 GB, free: 10.56 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.01161, allocations: 175.3 kB / 0.8266 GB, free: 10.38 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.01162, allocations: 29.7 kB / 0.8267 GB, free: 10.34 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.0117, allocations: 167.9 kB / 0.8268 GB, free: 10.18 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.01172, allocations: 27.78 kB / 0.8269 GB, free: 10.15 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.01176, allocations: 37.66 kB / 0.8269 GB, free: 10.11 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.01184, allocations: 322.8 kB / 0.8272 GB, free: 9.781 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.01186, allocations: 11.98 kB / 0.8272 GB, free: 9.77 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.01192, allocations: 81.75 kB / 0.8273 GB, free: 9.66 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.01201, allocations: 119.2 kB / 0.8274 GB, free: 9.512 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01202, allocations: 0 / 0.8274 GB, free: 9.512 MB / 0.8074 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001684/0.01218, allocations: 130.3 kB / 0.8275 GB, free: 9.375 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.0122, allocations: 4 kB / 0.8275 GB, free: 9.371 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01221, allocations: 4 kB / 0.8275 GB, free: 9.367 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.01237, allocations: 28.83 kB / 0.8276 GB, free: 9.336 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.01245, allocations: 35.92 kB / 0.8276 GB, free: 9.301 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007898/0.01324, allocations: 1.194 MB / 0.8288 GB, free: 8.008 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.01333, allocations: 15.83 kB / 0.8288 GB, free: 7.992 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.01334, allocations: 8 kB / 0.8288 GB, free: 7.984 MB / 0.8074 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.0001021/0.01344, allocations: 124.5 kB / 0.8289 GB, free: 7.852 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.01347, allocations: 15.97 kB / 0.8289 GB, free: 7.836 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.01349, allocations: 21.59 kB / 0.8289 GB, free: 7.816 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01349, allocations: 0 / 0.8289 GB, free: 7.816 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01349, allocations: 0 / 0.8289 GB, free: 7.816 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.0135, allocations: 7.938 kB / 0.8289 GB, free: 7.809 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.01377, allocations: 259.5 kB / 0.8292 GB, free: 7.527 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01378, allocations: 0 / 0.8292 GB, free: 7.527 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.0138, allocations: 8 kB / 0.8292 GB, free: 7.52 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.01383, allocations: 11.94 kB / 0.8292 GB, free: 7.508 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.01393, allocations: 36.78 kB / 0.8292 GB, free: 7.469 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.01393, allocations: 3.938 kB / 0.8293 GB, free: 7.465 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006089/0.01454, allocations: 1.182 MB / 0.8304 GB, free: 6.184 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01454, allocations: 4 kB / 0.8304 GB, free: 6.18 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.01467, allocations: 175.2 kB / 0.8306 GB, free: 5.988 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.01468, allocations: 4 kB / 0.8306 GB, free: 5.984 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.01474, allocations: 8 kB / 0.8306 GB, free: 5.977 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.01476, allocations: 3.984 kB / 0.8306 GB, free: 5.973 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.01476, allocations: 4 kB / 0.8306 GB, free: 5.969 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.01481, allocations: 52.78 kB / 0.8306 GB, free: 5.914 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.71e-07/0.01481, allocations: 0 / 0.8306 GB, free: 5.914 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0002122/0.01502, allocations: 55.84 kB / 0.8307 GB, free: 5.859 MB / 0.8074 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.0001138/0.01514, allocations: 80.42 kB / 0.8308 GB, free: 5.77 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.01541, allocations: 179.3 kB / 0.8309 GB, free: 5.578 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.01541, allocations: 0 / 0.8309 GB, free: 5.578 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.0155, allocations: 139.5 kB / 0.8311 GB, free: 5.426 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.01584, allocations: 263.3 kB / 0.8313 GB, free: 5.125 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.01762, allocations: 374.4 kB / 0.8317 GB, free: 4.73 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.701e-05/0.01769, allocations: 91.95 kB / 0.8318 GB, free: 4.621 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 6.392e-05/0.01775, allocations: 13.95 kB / 0.8318 GB, free: 4.605 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.01784, allocations: 79.34 kB / 0.8319 GB, free: 4.527 MB / 0.8074 GB Notification: Performance of SimCode: time 8.02e-07/0.01784, allocations: 4 kB / 0.8319 GB, free: 4.523 MB / 0.8074 GB Notification: Performance of Templates: time 0.004308/0.02215, allocations: 1.779 MB / 0.8336 GB, free: 2.773 MB / 0.8074 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.416458465158939]