Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.0108/0.0108, allocations: 99.95 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.002309/0.002309, allocations: 188.7 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.535/1.535, 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.752/2.752, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083/1.084, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007825/1.092, allocations: 5.562 MB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004913/1.097, allocations: 2.642 MB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005123/1.097, allocations: 27.81 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/1.099, allocations: 0.6746 MB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001138/1.101, allocations: 409.7 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/1.102, allocations: 408.7 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001143/1.103, allocations: 0.9552 MB / 1.177 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007134/1.104, allocations: 467 kB / 1.177 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/1.104, allocations: 374.6 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/1.105, allocations: 410.3 kB / 1.178 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/1.105, allocations: 48 kB / 1.178 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007409/1.105, allocations: 367.3 kB / 1.179 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/1.106, allocations: 247.3 kB / 1.179 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/1.106, allocations: 346.2 kB / 1.179 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/1.107, allocations: 0.9844 MB / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.107, allocations: 0 / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.743e-06/1.107, allocations: 0 / 1.18 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.107, allocations: 0 / 1.18 GB, free: 5.957 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.001658/1.109, allocations: 0.9961 MB / 1.181 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.109, allocations: 16.91 kB / 1.181 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/1.11, allocations: 196.2 kB / 1.181 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008478/1.111, allocations: 0.5262 MB / 1.182 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/1.111, allocations: 45.3 kB / 1.182 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.111, allocations: 48.55 kB / 1.182 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/1.113, allocations: 0.8241 MB / 1.183 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/1.113, allocations: 7.938 kB / 1.183 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/1.113, allocations: 31.97 kB / 1.183 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/1.113, allocations: 60.95 kB / 1.183 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/1.114, allocations: 0.5736 MB / 1.183 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/1.119, allocations: 4.578 MB / 1.188 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/1.119, allocations: 291.2 kB / 1.188 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/1.119, allocations: 225.3 kB / 1.188 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/1.119, allocations: 8.281 kB / 1.188 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.119, allocations: 38.84 kB / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/1.119, allocations: 0 / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005855/1.125, allocations: 2.651 MB / 1.191 GB, free: 10.19 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/1.125, allocations: 55.41 kB / 1.191 GB, free: 10.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/1.126, allocations: 466 kB / 1.191 GB, free: 9.652 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/1.126, allocations: 37.7 kB / 1.191 GB, free: 9.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/1.126, allocations: 352.5 kB / 1.192 GB, free: 9.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/1.126, allocations: 146.7 kB / 1.192 GB, free: 9.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/1.127, allocations: 106.2 kB / 1.192 GB, free: 9.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.127, allocations: 366.8 kB / 1.192 GB, free: 8.641 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/1.127, allocations: 229 kB / 1.193 GB, free: 8.418 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/1.128, allocations: 410.4 kB / 1.193 GB, free: 7.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/1.129, allocations: 0.6779 MB / 1.194 GB, free: 7.191 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.129, allocations: 4 kB / 1.194 GB, free: 7.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001702/1.13, allocations: 0.9171 MB / 1.195 GB, free: 6.254 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.13, allocations: 8 kB / 1.195 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.13, allocations: 8.656 kB / 1.195 GB, free: 6.238 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/1.131, allocations: 226.3 kB / 1.195 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/1.132, allocations: 115.9 kB / 1.195 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/1.138, allocations: 5.352 MB / 1.2 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/1.138, allocations: 35.91 kB / 1.2 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/1.138, allocations: 23.98 kB / 1.2 GB, free: 68 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.000448/1.139, allocations: 229.6 kB / 1.2 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.139, allocations: 63.56 kB / 1.2 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/1.141, allocations: 0.7734 MB / 1.201 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.141, allocations: 8 kB / 1.201 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.141, allocations: 3.938 kB / 1.201 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.141, allocations: 0 / 1.201 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/1.143, allocations: 1.503 MB / 1.203 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.143, allocations: 0 / 1.203 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/1.143, allocations: 67.89 kB / 1.203 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006795/1.144, allocations: 202.6 kB / 1.203 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.144, allocations: 11.98 kB / 1.203 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/1.149, allocations: 5.274 MB / 1.208 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.149, allocations: 4.031 kB / 1.208 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/1.151, allocations: 1.127 MB / 1.209 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/1.151, allocations: 172.8 kB / 1.209 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/1.151, allocations: 16.12 kB / 1.209 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/1.152, allocations: 27.97 kB / 1.209 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.152, allocations: 39.95 kB / 1.209 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/1.152, allocations: 12 kB / 1.21 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004066/1.152, allocations: 318.9 kB / 1.21 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.152, allocations: 0 / 1.21 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006831/1.153, allocations: 168 kB / 1.21 GB, free: 5.461 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.0001895/1.153, allocations: 116.8 kB / 1.21 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001633/1.155, allocations: 1.024 MB / 1.211 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.155, allocations: 0 / 1.211 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009474/1.156, allocations: 0.6837 MB / 1.212 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/1.157, allocations: 179.2 kB / 1.212 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.159, allocations: 1.266 MB / 1.213 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/1.159, allocations: 0.9533 MB / 1.214 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003165/1.16, allocations: 117 kB / 1.214 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/1.16, allocations: 39.44 kB / 1.214 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/1.16, allocations: 0 / 1.214 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of Templates: time 0.01588/1.176, allocations: 8.983 MB / 1.223 GB, free: 8.066 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches