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.001403/0.001403, allocations: 101.3 kB / 16.4 MB, free: 6.461 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.001512/0.001512, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.09 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.563/2.563, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9172/0.9185, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007214/0.9258, allocations: 5.471 MB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005408/0.9312, allocations: 2.638 MB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.9319, allocations: 19.88 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.9341, allocations: 0.6784 MB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.9354, allocations: 425.8 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.9365, allocations: 396 kB / 1.177 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.9378, allocations: 0.9513 MB / 1.178 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006317/0.9385, allocations: 466 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.9389, allocations: 386.6 kB / 1.178 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.9394, allocations: 402.4 kB / 1.179 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.9395, allocations: 48 kB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.9402, allocations: 351.3 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.9404, allocations: 251.3 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.9407, allocations: 350.2 kB / 1.18 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.9418, allocations: 0.9737 MB / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.9418, allocations: 0 / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9418, allocations: 0 / 1.181 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.9419, allocations: 4 kB / 1.181 GB, free: 6.062 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.001476/0.9433, allocations: 0.9922 MB / 1.182 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.9434, allocations: 16.86 kB / 1.182 GB, free: 5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.9447, allocations: 200.3 kB / 1.182 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.9455, allocations: 0.5106 MB / 1.182 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.9455, allocations: 41.36 kB / 1.182 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.9457, allocations: 56.52 kB / 1.182 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.9467, allocations: 0.828 MB / 1.183 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.9468, allocations: 3.938 kB / 1.183 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.9468, allocations: 27.98 kB / 1.183 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.947, allocations: 68.94 kB / 1.183 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.9479, allocations: 0.5697 MB / 1.184 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.952, allocations: 4.57 MB / 1.188 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.9525, allocations: 299.3 kB / 1.189 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.9528, allocations: 221.3 kB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.9528, allocations: 4.281 kB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.9529, allocations: 38.84 kB / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.335e-06/0.9529, allocations: 0 / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005354/0.9582, allocations: 2.651 MB / 1.192 GB, free: 10.31 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.9583, allocations: 55.41 kB / 1.192 GB, free: 10.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.9588, allocations: 458 kB / 1.192 GB, free: 9.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.9588, allocations: 37.7 kB / 1.192 GB, free: 9.742 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.9591, allocations: 348.5 kB / 1.192 GB, free: 9.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.9592, allocations: 146.7 kB / 1.193 GB, free: 9.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.9594, allocations: 102.2 kB / 1.193 GB, free: 9.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9595, allocations: 362.8 kB / 1.193 GB, free: 8.785 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.9598, allocations: 244.9 kB / 1.193 GB, free: 8.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.9603, allocations: 408.8 kB / 1.194 GB, free: 8.074 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.9611, allocations: 0.6779 MB / 1.194 GB, free: 7.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9611, allocations: 0 / 1.194 GB, free: 7.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001581/0.9627, allocations: 0.9255 MB / 1.195 GB, free: 6.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.9628, allocations: 8 kB / 1.195 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9628, allocations: 4 kB / 1.195 GB, free: 6.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.9635, allocations: 230.4 kB / 1.195 GB, free: 6.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.964, allocations: 115.8 kB / 1.196 GB, free: 6.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004921/0.969, allocations: 5.352 MB / 1.201 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.9695, allocations: 27.97 kB / 1.201 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.9696, allocations: 24 kB / 1.201 GB, free: 208 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.0003257/0.9699, allocations: 226.3 kB / 1.201 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.97, allocations: 59.61 kB / 1.201 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.9714, allocations: 0.7772 MB / 1.202 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.9714, allocations: 4 kB / 1.202 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9714, allocations: 7.938 kB / 1.202 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9714, allocations: 3.984 kB / 1.202 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.9737, allocations: 1.491 MB / 1.203 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.9738, allocations: 224 / 1.203 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.9741, allocations: 75.89 kB / 1.203 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006577/0.9748, allocations: 206.3 kB / 1.204 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.9748, allocations: 12 kB / 1.204 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.9794, allocations: 5.266 MB / 1.209 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9795, allocations: 7.922 kB / 1.209 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.9812, allocations: 1.131 MB / 1.21 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.9815, allocations: 168.7 kB / 1.21 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.9815, allocations: 16 kB / 1.21 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.9819, allocations: 27.97 kB / 1.21 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.982, allocations: 36.08 kB / 1.21 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.982, allocations: 16 kB / 1.21 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003348/0.9823, allocations: 306.9 kB / 1.21 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9823, allocations: 0 / 1.21 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006919/0.983, allocations: 172 kB / 1.211 GB, free: 5.609 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.000168/0.9832, allocations: 123.4 kB / 1.211 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.9849, allocations: 1.016 MB / 1.212 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9849, allocations: 0 / 1.212 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.9859, allocations: 0.6914 MB / 1.212 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.9867, allocations: 176.2 kB / 1.212 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.9887, allocations: 1.312 MB / 1.214 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.9894, allocations: 0.9532 MB / 1.215 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.9895, allocations: 39.44 kB / 1.215 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of SimCode: time 1.001e-06/0.9896, allocations: 0 / 1.215 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of Templates: time 0.019/1.009, allocations: 14.83 MB / 1.229 GB, free: 2.352 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/jenkins1/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