Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001981/0.001981, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002701/0.002701, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.551/1.551, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 443.5 MB / 0.7322 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 63.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005656/1.107, allocations: 3.186 MB / 1.222 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003872/1.111, allocations: 1.983 MB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/1.111, allocations: 4.375 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/1.113, allocations: 296.6 kB / 1.224 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006476/1.113, allocations: 206.2 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/1.114, allocations: 242 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005391/1.115, allocations: 322.8 kB / 1.225 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/1.115, allocations: 132.6 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/1.115, allocations: 134.5 kB / 1.225 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/1.116, allocations: 163.2 kB / 1.225 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/1.116, allocations: 24.53 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/1.117, allocations: 411.9 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/1.117, allocations: 93.77 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/1.117, allocations: 123.1 kB / 1.226 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009114/1.118, allocations: 489.2 kB / 1.226 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.118, allocations: 3.938 kB / 1.226 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.994e-06/1.118, allocations: 3.938 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.118, allocations: 1.562 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001319/1.119, allocations: 0.5683 MB / 1.227 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.119, allocations: 8.75 kB / 1.227 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.12, allocations: 113.6 kB / 1.227 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/1.121, allocations: 272 kB / 1.227 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/1.121, allocations: 15.64 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/1.121, allocations: 16.78 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/1.122, allocations: 358.9 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.122, allocations: 1.312 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/1.122, allocations: 6.25 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/1.122, allocations: 25.14 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/1.122, allocations: 293.8 kB / 1.228 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/1.125, allocations: 1.731 MB / 1.229 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/1.126, allocations: 316.4 kB / 1.23 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/1.126, allocations: 107 kB / 1.23 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/1.126, allocations: 95.39 kB / 1.23 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.126, allocations: 31.97 kB / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/1.126, allocations: 0 / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002805/1.129, allocations: 0.9697 MB / 1.231 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/1.129, allocations: 87.25 kB / 1.231 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/1.129, allocations: 212.6 kB / 1.231 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/1.129, allocations: 29.7 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.129, allocations: 176.5 kB / 1.231 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/1.129, allocations: 83.25 kB / 1.231 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.129, allocations: 65.72 kB / 1.231 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.13, allocations: 330.8 kB / 1.232 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/1.13, allocations: 131.9 kB / 1.232 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/1.13, allocations: 211.2 kB / 1.232 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/1.131, allocations: 372.7 kB / 1.232 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.131, allocations: 0 / 1.232 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001005/1.132, allocations: 0.5161 MB / 1.233 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.132, allocations: 4 kB / 1.233 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.132, allocations: 4 kB / 1.233 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/1.132, allocations: 155.4 kB / 1.233 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/1.133, allocations: 59.91 kB / 1.233 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/1.137, allocations: 4.186 MB / 1.237 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/1.137, allocations: 15.98 kB / 1.237 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/1.137, allocations: 12 kB / 1.237 GB, free: 3.145 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002714/1.137, allocations: 167.8 kB / 1.237 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/1.137, allocations: 19.84 kB / 1.237 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009846/1.138, allocations: 478.7 kB / 1.238 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.138, allocations: 3.984 kB / 1.238 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.138, allocations: 4 kB / 1.238 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.138, allocations: 3.984 kB / 1.238 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/1.14, allocations: 1.008 MB / 1.239 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.14, allocations: 4 kB / 1.239 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/1.14, allocations: 35.97 kB / 1.239 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/1.141, allocations: 143.3 kB / 1.239 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/1.141, allocations: 8 kB / 1.239 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/1.144, allocations: 4.156 MB / 1.243 GB, free: 12.67 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.144, allocations: 11.95 kB / 1.243 GB, free: 12.66 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/1.145, allocations: 0.6187 MB / 1.244 GB, free: 11.99 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.146, allocations: 121 kB / 1.244 GB, free: 11.85 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/1.146, allocations: 19.86 kB / 1.244 GB, free: 11.83 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.146, allocations: 19.98 kB / 1.244 GB, free: 11.81 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/1.146, allocations: 23.97 kB / 1.244 GB, free: 11.79 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/1.146, allocations: 11.98 kB / 1.244 GB, free: 11.78 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.0001899/1.146, allocations: 157.5 kB / 1.244 GB, free: 11.62 MB / 0.9513 GB Notification: Performance of sort global known variables: time 8e-08/1.146, allocations: 0 / 1.244 GB, free: 11.62 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.0005625/1.147, allocations: 91.88 kB / 1.244 GB, free: 11.54 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/1.147, allocations: 139 kB / 1.244 GB, free: 11.39 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.001094/1.148, allocations: 0.5633 MB / 1.245 GB, free: 10.8 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.148, allocations: 0 / 1.245 GB, free: 10.8 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.0005706/1.149, allocations: 402.1 kB / 1.245 GB, free: 10.38 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/1.149, allocations: 47.69 kB / 1.245 GB, free: 10.33 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/1.151, allocations: 0.6439 MB / 1.246 GB, free: 9.637 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/1.151, allocations: 0.7792 MB / 1.247 GB, free: 8.828 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.0001728/1.151, allocations: 58.23 kB / 1.247 GB, free: 8.773 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/1.151, allocations: 19.44 kB / 1.247 GB, free: 8.754 MB / 0.9513 GB Notification: Performance of SimCode: time 1.092e-06/1.151, allocations: 4 kB / 1.247 GB, free: 8.75 MB / 0.9513 GB Notification: Performance of Templates: time 0.01013/1.162, allocations: 4.444 MB / 1.251 GB, free: 4.336 MB / 0.9513 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.637731805443764]