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.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.001986/0.001986, allocations: 101.9 kB / 16.45 MB, free: 6.449 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.002045/0.002045, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.306/3.306, allocations: 0.4899 GB / 0.7915 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 72.05 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5074, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005346/0.5127, allocations: 3.133 MB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.5153, allocations: 1.387 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.5155, allocations: 7.938 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.5166, allocations: 342.7 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.517, allocations: 151.3 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.5174, allocations: 131.6 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.5178, allocations: 299 kB / 1.327 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.5182, allocations: 188.3 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.5184, allocations: 135.5 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.5187, allocations: 147.5 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.5188, allocations: 20 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.519, allocations: 171.6 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5191, allocations: 87.73 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.5193, allocations: 107.5 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000501/0.5198, allocations: 334.7 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5198, allocations: 0 / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5198, allocations: 4 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.5198, allocations: 0 / 1.328 GB, free: 12.18 MB / 1.029 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.0009357/0.5207, allocations: 0.5181 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5208, allocations: 15.98 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/0.5214, allocations: 80.72 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.5217, allocations: 244 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.5217, allocations: 16.75 kB / 1.329 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.5218, allocations: 16.38 kB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.5223, allocations: 299.5 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5223, allocations: 0 / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.5223, allocations: 12 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.5224, allocations: 16.36 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.5227, allocations: 200.8 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.5244, allocations: 1.468 MB / 1.33 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.5247, allocations: 163.7 kB / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.5248, allocations: 36.94 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.5248, allocations: 3.984 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.5249, allocations: 34.56 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5249, allocations: 0 / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005327/0.5254, allocations: 227.7 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5254, allocations: 51.41 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.5257, allocations: 195 kB / 1.331 GB, free: 8.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.5257, allocations: 29.7 kB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5258, allocations: 163.9 kB / 1.331 GB, free: 8.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.5258, allocations: 27.78 kB / 1.331 GB, free: 8.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.5259, allocations: 49.56 kB / 1.331 GB, free: 7.965 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5261, allocations: 326.8 kB / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.5261, allocations: 31.98 kB / 1.332 GB, free: 7.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.5263, allocations: 102.5 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.5265, allocations: 144.5 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5265, allocations: 3.984 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003205/0.5268, allocations: 186.2 kB / 1.332 GB, free: 7.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5268, allocations: 8 kB / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5268, allocations: 368 / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.527, allocations: 32.84 kB / 1.332 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.5271, allocations: 27.94 kB / 1.332 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.5284, allocations: 1.435 MB / 1.334 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5285, allocations: 15.98 kB / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.5286, allocations: 11.94 kB / 1.334 GB, free: 5.438 MB / 1.029 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.0001445/0.5287, allocations: 145.7 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.5288, allocations: 20 kB / 1.334 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.5288, allocations: 21.39 kB / 1.334 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5288, allocations: 4.031 kB / 1.334 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5288, allocations: 0 / 1.334 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5288, allocations: 4 kB / 1.334 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.5294, allocations: 443.2 kB / 1.334 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5294, allocations: 0 / 1.334 GB, free: 4.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.5294, allocations: 8 kB / 1.334 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.361e-05/0.5295, allocations: 24.84 kB / 1.334 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.5295, allocations: 0 / 1.334 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.5307, allocations: 1.422 MB / 1.336 GB, free: 3.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5307, allocations: 0 / 1.336 GB, free: 3.145 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.5309, allocations: 216.2 kB / 1.336 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.531, allocations: 93 kB / 1.336 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.5311, allocations: 8.094 kB / 1.336 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5312, allocations: 4 kB / 1.336 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.5312, allocations: 7.984 kB / 1.336 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5312, allocations: 4 kB / 1.336 GB, free: 2.781 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001411/0.5313, allocations: 143 kB / 1.336 GB, free: 2.641 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5313, allocations: 0 / 1.336 GB, free: 2.641 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003555/0.5317, allocations: 51.89 kB / 1.336 GB, free: 2.59 MB / 1.029 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.0001295/0.5318, allocations: 111.2 kB / 1.336 GB, free: 2.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004045/0.5322, allocations: 206.4 kB / 1.336 GB, free: 2.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5322, allocations: 0 / 1.336 GB, free: 2.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.5324, allocations: 146.7 kB / 1.337 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.5328, allocations: 40.48 kB / 1.337 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.5334, allocations: 358.5 kB / 1.337 GB, free: 1.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.5339, allocations: 0.7474 MB / 1.338 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.534, allocations: 29.47 kB / 1.338 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.534, allocations: 11.44 kB / 1.338 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.534, allocations: 0 / 1.338 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of Templates: time 0.005528/0.5395, allocations: 1.807 MB / 1.34 GB, free: 15.09 MB / 1.045 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: 9.332011218182743]