Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009609/0.009609, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 195.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008229/1.07, allocations: 5.475 MB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004926/1.075, allocations: 2.622 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/1.075, allocations: 23.88 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/1.077, allocations: 0.6861 MB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/1.078, allocations: 413.7 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/1.08, allocations: 393.7 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001443/1.081, allocations: 0.9436 MB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008228/1.082, allocations: 467 kB / 1.177 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/1.083, allocations: 370.6 kB / 1.178 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006781/1.083, allocations: 402.5 kB / 1.178 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/1.083, allocations: 48 kB / 1.178 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008599/1.084, allocations: 363.2 kB / 1.178 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/1.084, allocations: 251.3 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003783/1.085, allocations: 350.2 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/1.086, allocations: 0.9728 MB / 1.18 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.086, allocations: 0 / 1.18 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/1.086, allocations: 0 / 1.18 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.086, allocations: 4 kB / 1.18 GB, free: 6.07 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001773/1.088, allocations: 0.9961 MB / 1.181 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.088, allocations: 8.625 kB / 1.181 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.089, allocations: 196.3 kB / 1.181 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/1.09, allocations: 0.5107 MB / 1.182 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/1.09, allocations: 37.36 kB / 1.182 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.091, allocations: 60.5 kB / 1.182 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/1.092, allocations: 0.8387 MB / 1.183 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.092, allocations: 3.938 kB / 1.183 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/1.092, allocations: 27.98 kB / 1.183 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/1.092, allocations: 60.95 kB / 1.183 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/1.093, allocations: 0.5697 MB / 1.183 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/1.098, allocations: 4.57 MB / 1.188 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/1.098, allocations: 299.2 kB / 1.188 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/1.099, allocations: 225.3 kB / 1.188 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/1.099, allocations: 8.266 kB / 1.188 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.099, allocations: 38.84 kB / 1.188 GB, free: 13.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/1.099, allocations: 0 / 1.188 GB, free: 13.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005639/1.104, allocations: 2.651 MB / 1.191 GB, free: 10.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.104, allocations: 55.41 kB / 1.191 GB, free: 10.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/1.105, allocations: 461.9 kB / 1.191 GB, free: 9.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/1.105, allocations: 33.7 kB / 1.191 GB, free: 9.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/1.105, allocations: 348.5 kB / 1.192 GB, free: 9.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/1.105, allocations: 150.7 kB / 1.192 GB, free: 9.258 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/1.105, allocations: 110.1 kB / 1.192 GB, free: 9.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.106, allocations: 358.8 kB / 1.192 GB, free: 8.785 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/1.106, allocations: 241 kB / 1.192 GB, free: 8.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/1.107, allocations: 410.4 kB / 1.193 GB, free: 8.074 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/1.107, allocations: 0.674 MB / 1.194 GB, free: 7.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.107, allocations: 0 / 1.194 GB, free: 7.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001712/1.109, allocations: 0.9249 MB / 1.194 GB, free: 6.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.109, allocations: 11.98 kB / 1.194 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.109, allocations: 4 kB / 1.194 GB, free: 6.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/1.11, allocations: 223 kB / 1.195 GB, free: 6.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.111, allocations: 115.8 kB / 1.195 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005464/1.116, allocations: 5.341 MB / 1.2 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/1.117, allocations: 32.03 kB / 1.2 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/1.117, allocations: 28 kB / 1.2 GB, free: 220 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000369/1.117, allocations: 222.2 kB / 1.2 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/1.117, allocations: 63.59 kB / 1.2 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.119, allocations: 0.7772 MB / 1.201 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.119, allocations: 4 kB / 1.201 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.119, allocations: 4 kB / 1.201 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.119, allocations: 3.984 kB / 1.201 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/1.121, allocations: 1.491 MB / 1.203 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.121, allocations: 0 / 1.203 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/1.122, allocations: 75.88 kB / 1.203 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007056/1.122, allocations: 210.8 kB / 1.203 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.122, allocations: 11.94 kB / 1.203 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005364/1.128, allocations: 5.282 MB / 1.208 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.128, allocations: 0 / 1.208 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/1.13, allocations: 1.131 MB / 1.209 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/1.13, allocations: 164.7 kB / 1.209 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/1.13, allocations: 15.94 kB / 1.209 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/1.13, allocations: 23.97 kB / 1.209 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/1.13, allocations: 43.95 kB / 1.209 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/1.13, allocations: 8 kB / 1.209 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003754/1.131, allocations: 318.9 kB / 1.21 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.131, allocations: 0 / 1.21 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007174/1.132, allocations: 164 kB / 1.21 GB, free: 5.617 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/1.132, allocations: 115.5 kB / 1.21 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001685/1.133, allocations: 1.008 MB / 1.211 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.133, allocations: 4 kB / 1.211 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000975/1.134, allocations: 0.6914 MB / 1.212 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/1.135, allocations: 187.3 kB / 1.212 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.138, allocations: 1.261 MB / 1.213 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/1.138, allocations: 0.9494 MB / 1.214 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003642/1.139, allocations: 117 kB / 1.214 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.139, allocations: 39.42 kB / 1.214 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/1.139, allocations: 4 kB / 1.214 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.02062/1.159, allocations: 8.951 MB / 1.223 GB, free: 8.254 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches