Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001334, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.842/2.842, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 75.86 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9232/0.9252, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02842/0.9537, allocations: 20.25 MB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.9664, allocations: 6.445 MB / 1.043 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.9687, allocations: 87.56 kB / 1.043 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.9748, allocations: 2.229 MB / 1.046 GB, free: 5.414 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.979, allocations: 1.181 MB / 1.047 GB, free: 4.227 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.9832, allocations: 1.287 MB / 1.048 GB, free: 2.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007201/0.9904, allocations: 4.854 MB / 1.053 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/1.001, allocations: 5.636 MB / 1.058 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/1.005, allocations: 2.076 MB / 1.06 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/1.01, allocations: 2.34 MB / 1.063 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0011/1.011, allocations: 432 kB / 1.063 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/1.014, allocations: 1.01 MB / 1.064 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0022/1.016, allocations: 1.661 MB / 1.066 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003806/1.02, allocations: 1.91 MB / 1.067 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008843/1.028, allocations: 6.478 MB / 1.074 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.029, allocations: 0 / 1.074 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.756e-06/1.029, allocations: 0 / 1.074 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002087/1.029, allocations: 0 / 1.074 GB, free: 8.422 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009725/1.038, allocations: 3.456 MB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/1.039, allocations: 16.03 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/1.042, allocations: 0.6333 MB / 1.078 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00411/1.046, allocations: 1.939 MB / 1.08 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/1.047, allocations: 222.3 kB / 1.08 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006659/1.047, allocations: 288.4 kB / 1.08 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009805/1.057, allocations: 4.898 MB / 1.085 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/1.057, allocations: 15.84 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/1.058, allocations: 124 kB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004844/1.058, allocations: 229.7 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007311/1.065, allocations: 3.758 MB / 1.089 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/1.096, allocations: 21.56 MB / 1.11 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/1.098, allocations: 1.313 MB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/1.1, allocations: 1.049 MB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/1.1, allocations: 13 kB / 1.112 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.1, allocations: 43.56 kB / 1.112 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/1.1, allocations: 0 / 1.112 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02619/1.126, allocations: 8.656 MB / 1.121 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/1.126, allocations: 64.72 kB / 1.121 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/1.128, allocations: 1.138 MB / 1.122 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/1.128, allocations: 49.7 kB / 1.122 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009744/1.129, allocations: 1.292 MB / 1.123 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/1.13, allocations: 485 kB / 1.124 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/1.13, allocations: 287.4 kB / 1.124 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.13, allocations: 313 kB / 1.124 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/1.132, allocations: 0.9096 MB / 1.125 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.134, allocations: 1.322 MB / 1.127 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/1.137, allocations: 2.43 MB / 1.129 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.137, allocations: 4 kB / 1.129 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006497/1.143, allocations: 3.472 MB / 1.132 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.143, allocations: 8 kB / 1.132 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/1.143, allocations: 12 kB / 1.132 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00339/1.147, allocations: 1.193 MB / 1.134 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.148, allocations: 263.5 kB / 1.134 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.168, allocations: 13.84 MB / 1.147 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.169, allocations: 87.97 kB / 1.147 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.169, allocations: 67.98 kB / 1.147 GB, free: 9.766 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002389/1.172, allocations: 1.118 MB / 1.149 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/1.172, allocations: 166.1 kB / 1.149 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00633/1.179, allocations: 3.173 MB / 1.152 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.179, allocations: 16 kB / 1.152 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.644e-05/1.179, allocations: 15.94 kB / 1.152 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/1.179, allocations: 7.969 kB / 1.152 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.191, allocations: 6.241 MB / 1.158 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.191, allocations: 4 kB / 1.158 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/1.192, allocations: 144.3 kB / 1.158 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/1.195, allocations: 1.08 MB / 1.159 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.195, allocations: 24 kB / 1.159 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/1.213, allocations: 13.55 MB / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.213, allocations: 11.94 kB / 1.172 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/1.219, allocations: 3.154 MB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/1.22, allocations: 423.1 kB / 1.176 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/1.22, allocations: 35.88 kB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/1.221, allocations: 83.89 kB / 1.176 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/1.222, allocations: 120.7 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.222, allocations: 47.94 kB / 1.176 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001321/1.223, allocations: 0.7632 MB / 1.177 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.223, allocations: 0 / 1.177 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002252/1.225, allocations: 0.6602 MB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002673/1.226, allocations: 143.1 kB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006296/1.232, allocations: 3.63 MB / 1.181 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.232, allocations: 4 kB / 1.181 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/1.235, allocations: 1.947 MB / 1.183 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/1.238, allocations: 0.5028 MB / 1.184 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.249, allocations: 5.437 MB / 1.189 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/1.252, allocations: 2.336 MB / 1.191 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001362/1.254, allocations: 350.1 kB / 1.192 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/1.254, allocations: 83.44 kB / 1.192 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of SimCode: time 1.192e-06/1.254, allocations: 4 kB / 1.192 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.05971/1.314, allocations: 32.67 MB / 1.224 GB, free: 11.38 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches