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.001519/0.001519, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001698/0.001698, allocations: 165.1 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.612/1.612, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.886/2.886, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] 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.884e-06/1.884e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.143e-05/4.331e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00706/0.007103, allocations: 3.034 MB / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004216/0.01132, allocations: 1.305 MB / 0.9552 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.01182, allocations: 7.938 kB / 0.9552 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.01373, allocations: 334.7 kB / 0.9555 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.01453, allocations: 151.1 kB / 0.9556 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.0152, allocations: 140.5 kB / 0.9558 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007297/0.01593, allocations: 310.9 kB / 0.9561 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.01652, allocations: 188.6 kB / 0.9563 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.01691, allocations: 175.6 kB / 0.9564 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.01734, allocations: 123.6 kB / 0.9565 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.0174, allocations: 16 kB / 0.9566 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.01779, allocations: 151.6 kB / 0.9567 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.01795, allocations: 91.73 kB / 0.9568 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.0181, allocations: 79.83 kB / 0.9569 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007286/0.01883, allocations: 346.8 kB / 0.9572 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.01884, allocations: 4 kB / 0.9572 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01884, allocations: 0 / 0.9572 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.01885, allocations: 0 / 0.9572 GB, free: 5.172 MB / 0.8575 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.001327/0.02018, allocations: 449.5 kB / 0.9576 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.02023, allocations: 8.031 kB / 0.9576 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007676/0.021, allocations: 88.72 kB / 0.9577 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.02148, allocations: 189.3 kB / 0.9579 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.0215, allocations: 12.75 kB / 0.9579 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.02154, allocations: 16.38 kB / 0.9579 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.02227, allocations: 381.1 kB / 0.9583 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.02229, allocations: 8.109 kB / 0.9583 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.02232, allocations: 4.375 kB / 0.9583 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.02238, allocations: 20.31 kB / 0.9583 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.02279, allocations: 193 kB / 0.9585 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.02455, allocations: 0.9929 MB / 0.9595 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.02483, allocations: 90.56 kB / 0.9596 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.02489, allocations: 36.83 kB / 0.9596 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.02491, allocations: 7.984 kB / 0.9596 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.02494, allocations: 42.42 kB / 0.9596 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.02494, allocations: 0 / 0.9596 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005764/0.02552, allocations: 146.4 kB / 0.9598 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.02557, allocations: 51.41 kB / 0.9598 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.02581, allocations: 183.7 kB / 0.96 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.02584, allocations: 29.7 kB / 0.96 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.026, allocations: 175.8 kB / 0.9602 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.02604, allocations: 31.92 kB / 0.9602 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.02612, allocations: 41.67 kB / 0.9603 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.02631, allocations: 322.8 kB / 0.9606 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.0264, allocations: 35.97 kB / 0.9606 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.02654, allocations: 96.58 kB / 0.9607 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.02679, allocations: 148.4 kB / 0.9609 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02679, allocations: 0 / 0.9609 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000403/0.02719, allocations: 186.1 kB / 0.961 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.02721, allocations: 8 kB / 0.961 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02722, allocations: 0 / 0.961 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.02743, allocations: 33.06 kB / 0.9611 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.02755, allocations: 31.98 kB / 0.9611 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.02905, allocations: 1.284 MB / 0.9624 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.02918, allocations: 11.89 kB / 0.9624 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.0292, allocations: 12 kB / 0.9624 GB, free: 15.46 MB / 0.8731 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.0001933/0.02939, allocations: 150.8 kB / 0.9625 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.02944, allocations: 12 kB / 0.9625 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.02947, allocations: 21.41 kB / 0.9626 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.02948, allocations: 7.938 kB / 0.9626 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.02948, allocations: 0 / 0.9626 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.02949, allocations: 4.047 kB / 0.9626 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.03007, allocations: 370.8 kB / 0.9629 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.03007, allocations: 0 / 0.9629 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.03012, allocations: 11.98 kB / 0.9629 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-05/0.03021, allocations: 28.78 kB / 0.963 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.03022, allocations: 4 kB / 0.963 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.03155, allocations: 1.276 MB / 0.9642 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.03155, allocations: 0 / 0.9642 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.03183, allocations: 216.2 kB / 0.9644 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.03189, allocations: 19.89 kB / 0.9644 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.03191, allocations: 8.156 kB / 0.9644 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.03202, allocations: 7.938 kB / 0.9644 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.03205, allocations: 3.984 kB / 0.9644 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.03206, allocations: 4 kB / 0.9645 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001379/0.0322, allocations: 135.5 kB / 0.9646 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6e-08/0.0322, allocations: 0 / 0.9646 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003832/0.03258, allocations: 51.89 kB / 0.9646 GB, free: 12.98 MB / 0.8731 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.0001475/0.03273, allocations: 95.25 kB / 0.9647 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.0332, allocations: 206.5 kB / 0.9649 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03321, allocations: 0 / 0.9649 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.03341, allocations: 146.6 kB / 0.9651 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.03379, allocations: 38.64 kB / 0.9651 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.03459, allocations: 350.7 kB / 0.9654 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.03479, allocations: 131.9 kB / 0.9656 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.03489, allocations: 26.09 kB / 0.9656 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.03493, allocations: 16.5 kB / 0.9656 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/0.03493, allocations: 0 / 0.9656 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.006255/0.04118, allocations: 1.652 MB / 0.9672 GB, free: 10.31 MB / 0.8731 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: 8.754401352256536]