Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009473/0.009473, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002253/0.002253, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.677/2.677, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.3 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3953, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007676/0.403, allocations: 5.46 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.4083, allocations: 2.615 MB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.4089, allocations: 23.81 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.4109, allocations: 0.6768 MB / 1.097 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.4123, allocations: 425.8 kB / 1.097 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.4135, allocations: 397.9 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.4149, allocations: 0.9552 MB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.4156, allocations: 462.5 kB / 1.099 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.4162, allocations: 378.5 kB / 1.099 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.4167, allocations: 398.5 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.4168, allocations: 48 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007865/0.4176, allocations: 371.1 kB / 1.1 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.4179, allocations: 255.3 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.4182, allocations: 342.3 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.4193, allocations: 0.9733 MB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4194, allocations: 0 / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4194, allocations: 0 / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.4194, allocations: 0 / 1.101 GB, free: 3.723 MB / 0.8575 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.00165/0.421, allocations: 0.9738 MB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4211, allocations: 8.031 kB / 1.102 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.4225, allocations: 191.9 kB / 1.102 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.4233, allocations: 0.5179 MB / 1.103 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.4234, allocations: 45.36 kB / 1.103 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.4235, allocations: 52.47 kB / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4247, allocations: 0.8356 MB / 1.104 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.4248, allocations: 4 kB / 1.104 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.4248, allocations: 23.98 kB / 1.104 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.425, allocations: 64.95 kB / 1.104 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.4259, allocations: 0.5735 MB / 1.105 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.4308, allocations: 4.573 MB / 1.109 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.4314, allocations: 287.3 kB / 1.109 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.4317, allocations: 233.3 kB / 1.109 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.4318, allocations: 4.281 kB / 1.109 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.4318, allocations: 42.78 kB / 1.11 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/0.4318, allocations: 0 / 1.11 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005723/0.4376, allocations: 2.623 MB / 1.112 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4376, allocations: 63.28 kB / 1.112 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.4382, allocations: 461.9 kB / 1.113 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.4382, allocations: 29.7 kB / 1.113 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.4385, allocations: 347.5 kB / 1.113 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.4387, allocations: 138 kB / 1.113 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.4389, allocations: 114 kB / 1.113 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4391, allocations: 358.8 kB / 1.114 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.4394, allocations: 233 kB / 1.114 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.4398, allocations: 410.5 kB / 1.114 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.4407, allocations: 0.6739 MB / 1.115 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4407, allocations: 4 kB / 1.115 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001618/0.4424, allocations: 0.9246 MB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.4424, allocations: 4 kB / 1.116 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4424, allocations: 8 kB / 1.116 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007682/0.4432, allocations: 227 kB / 1.116 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.4437, allocations: 119.7 kB / 1.116 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.449, allocations: 5.336 MB / 1.121 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.4495, allocations: 35.97 kB / 1.121 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.4495, allocations: 28.06 kB / 1.121 GB, free: 13.9 MB / 0.8887 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.0003298/0.4498, allocations: 221.6 kB / 1.122 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.4499, allocations: 59.47 kB / 1.122 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.4513, allocations: 0.7772 MB / 1.122 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.4514, allocations: 4 kB / 1.122 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4514, allocations: 8 kB / 1.122 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4514, allocations: 0 / 1.122 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.4538, allocations: 1.494 MB / 1.124 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4538, allocations: 4 kB / 1.124 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003504/0.4542, allocations: 63.94 kB / 1.124 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006316/0.4548, allocations: 210.5 kB / 1.124 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.4548, allocations: 12 kB / 1.124 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.4596, allocations: 5.273 MB / 1.129 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4597, allocations: 4.031 kB / 1.129 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.4616, allocations: 1.135 MB / 1.13 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.4619, allocations: 168.4 kB / 1.131 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/0.462, allocations: 19.92 kB / 1.131 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.4623, allocations: 19.97 kB / 1.131 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4624, allocations: 35.95 kB / 1.131 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4625, allocations: 16.06 kB / 1.131 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003935/0.4629, allocations: 310.9 kB / 1.131 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4629, allocations: 0 / 1.131 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008438/0.4637, allocations: 168 kB / 1.131 GB, free: 3.324 MB / 0.8887 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.000212/0.4639, allocations: 111.2 kB / 1.131 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.4657, allocations: 1.016 MB / 1.132 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4658, allocations: 0 / 1.132 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009957/0.4668, allocations: 0.6812 MB / 1.133 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.4676, allocations: 187.5 kB / 1.133 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.4701, allocations: 1.245 MB / 1.134 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.4708, allocations: 0.9493 MB / 1.135 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003643/0.4712, allocations: 113 kB / 1.135 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4713, allocations: 47.38 kB / 1.135 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of SimCode: time 1.382e-06/0.4713, allocations: 0 / 1.135 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.01858/0.4899, allocations: 8.952 MB / 1.144 GB, free: 5.984 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches