Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 106 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 191.9 kB / 22.1 MB, free: 4.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 225.6 MB / 250.8 MB, free: 2.918 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.091/3.091, allocations: 495.8 MB / 0.7831 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 1.137 GB, free: 12.25 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268/1.27, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004796/1.275, allocations: 3.181 MB / 1.31 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002209/1.277, allocations: 1.384 MB / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/1.277, allocations: 5.719 kB / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/1.279, allocations: 350.5 kB / 1.312 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/1.279, allocations: 154 kB / 1.312 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/1.279, allocations: 129.3 kB / 1.312 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/1.28, allocations: 307.7 kB / 1.312 GB, free: 30.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/1.28, allocations: 170.9 kB / 1.312 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/1.28, allocations: 121.9 kB / 1.312 GB, free: 30.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/1.281, allocations: 146.6 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/1.281, allocations: 17.28 kB / 1.313 GB, free: 30.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/1.281, allocations: 155.4 kB / 1.313 GB, free: 30 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/1.281, allocations: 83.23 kB / 1.313 GB, free: 29.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/1.281, allocations: 112.8 kB / 1.313 GB, free: 29.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/1.281, allocations: 331.1 kB / 1.313 GB, free: 29.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.281, allocations: 0 / 1.313 GB, free: 29.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/1.281, allocations: 0 / 1.313 GB, free: 29.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.281, allocations: 4 kB / 1.313 GB, free: 29.79 MB / 1.061 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.0008541/1.282, allocations: 456.2 kB / 1.314 GB, free: 29.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.282, allocations: 10 kB / 1.314 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/1.283, allocations: 81.3 kB / 1.314 GB, free: 29.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/1.283, allocations: 190.7 kB / 1.314 GB, free: 29.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.283, allocations: 14.59 kB / 1.314 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/1.283, allocations: 16.25 kB / 1.314 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/1.284, allocations: 303.9 kB / 1.314 GB, free: 29.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.284, allocations: 0 / 1.314 GB, free: 29.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/1.284, allocations: 10.88 kB / 1.314 GB, free: 29.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/1.284, allocations: 18.02 kB / 1.314 GB, free: 29.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/1.284, allocations: 197 kB / 1.314 GB, free: 28.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/1.285, allocations: 1.416 MB / 1.316 GB, free: 27.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/1.286, allocations: 105.2 kB / 1.316 GB, free: 27.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/1.286, allocations: 40.88 kB / 1.316 GB, free: 27.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/1.286, allocations: 0 / 1.316 GB, free: 27.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/1.286, allocations: 33.12 kB / 1.316 GB, free: 27.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/1.286, allocations: 0 / 1.316 GB, free: 27.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004632/1.286, allocations: 145.2 kB / 1.316 GB, free: 27.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/1.286, allocations: 55.41 kB / 1.316 GB, free: 27.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/1.286, allocations: 212.1 kB / 1.316 GB, free: 27.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/1.286, allocations: 28.11 kB / 1.316 GB, free: 27.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/1.286, allocations: 170.8 kB / 1.317 GB, free: 27.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/1.286, allocations: 22.25 kB / 1.317 GB, free: 27.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/1.286, allocations: 32.41 kB / 1.317 GB, free: 27.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/1.286, allocations: 334.6 kB / 1.317 GB, free: 26.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/1.287, allocations: 28.17 kB / 1.317 GB, free: 26.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.079e-05/1.287, allocations: 111.2 kB / 1.317 GB, free: 26.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/1.287, allocations: 144.5 kB / 1.317 GB, free: 26.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.287, allocations: 2.906 kB / 1.317 GB, free: 26.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002696/1.287, allocations: 189.8 kB / 1.317 GB, free: 26.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.287, allocations: 5.5 kB / 1.317 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.287, allocations: 2.406 kB / 1.317 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/1.287, allocations: 29.66 kB / 1.317 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.287, allocations: 28.08 kB / 1.317 GB, free: 26.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00083/1.288, allocations: 1.313 MB / 1.319 GB, free: 25.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/1.288, allocations: 25.41 kB / 1.319 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/1.288, allocations: 8.344 kB / 1.319 GB, free: 25.06 MB / 1.061 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.000115/1.288, allocations: 155.2 kB / 1.319 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/1.288, allocations: 16.59 kB / 1.319 GB, free: 24.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/1.289, allocations: 19.39 kB / 1.319 GB, free: 24.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.289, allocations: 6.562 kB / 1.319 GB, free: 24.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.289, allocations: 4.062 kB / 1.319 GB, free: 24.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.289, allocations: 0 / 1.319 GB, free: 24.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/1.289, allocations: 413.1 kB / 1.319 GB, free: 24.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.289, allocations: 0 / 1.319 GB, free: 24.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/1.289, allocations: 15.81 kB / 1.319 GB, free: 24.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/1.289, allocations: 15.83 kB / 1.319 GB, free: 24.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.289, allocations: 6.672 kB / 1.319 GB, free: 24.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006794/1.29, allocations: 1.318 MB / 1.321 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.29, allocations: 0 / 1.321 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/1.29, allocations: 215.7 kB / 1.321 GB, free: 23.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/1.29, allocations: 23.02 kB / 1.321 GB, free: 23.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.29, allocations: 0 / 1.321 GB, free: 23.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.29, allocations: 6.625 kB / 1.321 GB, free: 23.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/1.29, allocations: 6.094 kB / 1.321 GB, free: 23.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.29, allocations: 2.625 kB / 1.321 GB, free: 23.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001078/1.29, allocations: 148.4 kB / 1.321 GB, free: 22.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.29, allocations: 3.938 kB / 1.321 GB, free: 22.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003411/1.291, allocations: 51.64 kB / 1.321 GB, free: 22.94 MB / 1.061 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.0001046/1.291, allocations: 95.19 kB / 1.321 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003702/1.291, allocations: 206.5 kB / 1.321 GB, free: 22.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.291, allocations: 4.188 kB / 1.321 GB, free: 22.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/1.291, allocations: 147.1 kB / 1.322 GB, free: 22.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/1.292, allocations: 37.27 kB / 1.322 GB, free: 22.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/1.292, allocations: 364.7 kB / 1.322 GB, free: 22.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/1.292, allocations: 0.75 MB / 1.323 GB, free: 21.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.864e-05/1.293, allocations: 22.78 kB / 1.323 GB, free: 21.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/1.293, allocations: 19.38 kB / 1.323 GB, free: 21.61 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.293, allocations: 0 / 1.323 GB, free: 21.61 MB / 1.061 GB Notification: Performance of Templates: time 0.005054/1.298, allocations: 1.852 MB / 1.324 GB, free: 21.44 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.388795698992908]