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.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.001454/0.001454, allocations: 110 kB / 18.93 MB, free: 2.945 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.001541/0.001541, allocations: 188.6 kB / 22.23 MB, free: 5.16 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.534/1.534, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7646 GB, free: 9.848 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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 0.002118/0.002118, allocations: 63.91 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006089/1.072, allocations: 3.188 MB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002682/1.074, allocations: 1.383 MB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/1.075, allocations: 11.94 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/1.076, allocations: 346.7 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003986/1.076, allocations: 151.2 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/1.077, allocations: 139.6 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004304/1.077, allocations: 299 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/1.077, allocations: 168.4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/1.078, allocations: 139.5 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/1.078, allocations: 135.5 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/1.078, allocations: 20 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/1.078, allocations: 175.6 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/1.079, allocations: 83.73 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/1.079, allocations: 111.5 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005082/1.079, allocations: 333.5 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.079, allocations: 0 / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/1.079, allocations: 0 / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.303e-06/1.079, allocations: 0 / 1.281 GB, free: 13.55 MB / 0.9825 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.0009659/1.08, allocations: 461.4 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.08, allocations: 8.031 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/1.081, allocations: 80.72 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/1.081, allocations: 190.2 kB / 1.282 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.081, allocations: 16.75 kB / 1.282 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/1.081, allocations: 16.38 kB / 1.282 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/1.082, allocations: 303.2 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.082, allocations: 3.984 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/1.082, allocations: 7.984 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/1.082, allocations: 20.38 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/1.082, allocations: 200.9 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.084, allocations: 1.421 MB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/1.084, allocations: 98.59 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/1.084, allocations: 28.84 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/1.084, allocations: 8 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.084, allocations: 30.56 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/1.084, allocations: 0 / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004873/1.085, allocations: 154.5 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.085, allocations: 51.41 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/1.085, allocations: 207.8 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.085, allocations: 29.7 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.085, allocations: 175.9 kB / 1.284 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/1.085, allocations: 23.8 kB / 1.284 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/1.085, allocations: 33.7 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.086, allocations: 330.8 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/1.086, allocations: 31.98 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/1.086, allocations: 108.4 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/1.086, allocations: 144.4 kB / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.086, allocations: 4 kB / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000318/1.086, allocations: 190.3 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.086, allocations: 7.938 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.086, allocations: 4 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/1.086, allocations: 24.84 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.087, allocations: 31.92 kB / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/1.088, allocations: 1.314 MB / 1.286 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/1.088, allocations: 27.91 kB / 1.286 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/1.088, allocations: 4.156 kB / 1.286 GB, free: 7.324 MB / 0.9825 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.0001728/1.088, allocations: 162.3 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/1.088, allocations: 15.91 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/1.088, allocations: 17.39 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.088, allocations: 0 / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/1.088, allocations: 0 / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.088, allocations: 4 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/1.089, allocations: 422.3 kB / 1.287 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.089, allocations: 0 / 1.287 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/1.089, allocations: 8 kB / 1.287 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.119e-05/1.089, allocations: 16.94 kB / 1.287 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.089, allocations: 7.938 kB / 1.287 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/1.09, allocations: 1.314 MB / 1.288 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.09, allocations: 0 / 1.288 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/1.09, allocations: 212.4 kB / 1.288 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/1.091, allocations: 23.89 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/1.091, allocations: 3.984 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/1.091, allocations: 11.94 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/1.091, allocations: 3.984 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/1.091, allocations: 4 kB / 1.289 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001581/1.091, allocations: 139.2 kB / 1.289 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.091, allocations: 0 / 1.289 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003356/1.091, allocations: 55.89 kB / 1.289 GB, free: 4.73 MB / 0.9825 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.0001239/1.091, allocations: 95.23 kB / 1.289 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004225/1.092, allocations: 206.5 kB / 1.289 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.092, allocations: 0.5625 kB / 1.289 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/1.092, allocations: 150.7 kB / 1.289 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/1.092, allocations: 40.53 kB / 1.289 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/1.093, allocations: 360.8 kB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/1.094, allocations: 0.7515 MB / 1.29 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.006e-05/1.094, allocations: 21.48 kB / 1.29 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/1.094, allocations: 11.44 kB / 1.29 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/1.094, allocations: 4 kB / 1.29 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.005785/1.099, allocations: 1.857 MB / 1.292 GB, free: 1.191 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.840542855672538]