Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009543/0.009543, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001655/0.001655, allocations: 193.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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 62.97 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.276, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04181/0.3179, allocations: 37.61 MB / 1.124 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.3408, allocations: 13.03 MB / 1.137 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00489/0.3457, allocations: 171.1 kB / 1.137 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.3558, allocations: 3.878 MB / 1.141 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008925/0.3648, allocations: 2.495 MB / 1.143 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007973/0.3728, allocations: 2.711 MB / 1.146 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.3857, allocations: 9.571 MB / 1.155 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.4, allocations: 10.49 MB / 1.166 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008008/0.4081, allocations: 3.992 MB / 1.169 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007745/0.4158, allocations: 4.373 MB / 1.174 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.4182, allocations: 0.7734 MB / 1.174 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.4227, allocations: 1.779 MB / 1.176 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004145/0.4269, allocations: 3.037 MB / 1.179 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.008896/0.4358, allocations: 3.579 MB / 1.183 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02034/0.4562, allocations: 11.86 MB / 1.194 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4563, allocations: 4 kB / 1.194 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4563, allocations: 0 / 1.194 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004323/0.4567, allocations: 0 / 1.194 GB, free: 4.211 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02222/0.4789, allocations: 6.362 MB / 1.2 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.479, allocations: 12.03 kB / 1.2 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003128/0.4822, allocations: 0.7519 MB / 1.201 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.4927, allocations: 1.309 MB / 1.202 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009625/0.5023, allocations: 3.779 MB / 1.206 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/0.5028, allocations: 386.4 kB / 1.207 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.5049, allocations: 0.504 MB / 1.207 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.5244, allocations: 8.894 MB / 1.216 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.5247, allocations: 27.72 kB / 1.216 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.526, allocations: 223.9 kB / 1.216 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00242/0.5284, allocations: 0.6265 MB / 1.217 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01453/0.543, allocations: 7.014 MB / 1.223 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5379/1.081, allocations: 40.04 MB / 1.263 GB, free: 137.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/1.086, allocations: 2.891 MB / 1.265 GB, free: 137.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004234/1.09, allocations: 2.666 MB / 1.268 GB, free: 137.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/1.09, allocations: 32.56 kB / 1.268 GB, free: 137.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.381e-05/1.09, allocations: 65.58 kB / 1.268 GB, free: 137.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=265): time 5.901e-06/1.09, allocations: 1.406 kB / 1.268 GB, free: 137.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=424): time 0.2918/1.382, allocations: 74.69 MB / 1.341 GB, free: 96.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/1.382, allocations: 98.67 kB / 1.341 GB, free: 96.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/1.385, allocations: 2.359 MB / 1.343 GB, free: 93.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006703/1.386, allocations: 101.7 kB / 1.343 GB, free: 93.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009443/1.387, allocations: 2.33 MB / 1.346 GB, free: 91.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.388, allocations: 1.446 MB / 1.347 GB, free: 90 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/1.39, allocations: 0.7177 MB / 1.348 GB, free: 89.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/1.39, allocations: 301.1 kB / 1.348 GB, free: 88.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/1.393, allocations: 2.999 MB / 1.351 GB, free: 85.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/1.397, allocations: 3.835 MB / 1.355 GB, free: 81.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/1.405, allocations: 7.397 MB / 1.362 GB, free: 74.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/1.405, allocations: 5.5 kB / 1.362 GB, free: 74.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02499/1.43, allocations: 12.56 MB / 1.374 GB, free: 61.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.43, allocations: 12 kB / 1.374 GB, free: 61.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/1.43, allocations: 24.88 kB / 1.374 GB, free: 61.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/1.451, allocations: 6.028 MB / 1.38 GB, free: 55.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/1.453, allocations: 495.7 kB / 1.381 GB, free: 54.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07419/1.527, allocations: 72.98 MB / 1.452 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.532, allocations: 215.7 kB / 1.452 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005025/1.532, allocations: 156.1 kB / 1.452 GB, free: 10.18 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003346/1.536, allocations: 1.996 MB / 1.454 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/1.536, allocations: 395.4 kB / 1.455 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/1.566, allocations: 12.22 MB / 1.467 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.566, allocations: 40.19 kB / 1.467 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001184/1.566, allocations: 48 kB / 1.467 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-05/1.566, allocations: 27.86 kB / 1.467 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0393/1.605, allocations: 19.14 MB / 1.485 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.376e-05/1.605, allocations: 11.98 kB / 1.485 GB, free: 7.973 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.607, allocations: 284.5 kB / 1.486 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02117/1.628, allocations: 5.573 MB / 1.491 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005589/1.629, allocations: 83.94 kB / 1.491 GB, free: 1.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0808/1.71, allocations: 70.62 MB / 1.56 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.71, allocations: 8 kB / 1.56 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/1.741, allocations: 15.62 MB / 1.575 GB, free: 8.191 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/1.743, allocations: 1.039 MB / 1.576 GB, free: 7.129 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007538/1.744, allocations: 79.98 kB / 1.577 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/1.747, allocations: 215.7 kB / 1.577 GB, free: 6.84 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00143/1.748, allocations: 414.1 kB / 1.577 GB, free: 6.434 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/1.749, allocations: 108 kB / 1.577 GB, free: 6.328 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002021/1.751, allocations: 1.556 MB / 1.579 GB, free: 4.773 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/1.751, allocations: 0 / 1.579 GB, free: 4.773 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00536/1.756, allocations: 1.863 MB / 1.581 GB, free: 2.91 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03007/1.786, allocations: 16.29 MB / 1.597 GB, free: 2.383 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02178/1.808, allocations: 12.21 MB / 1.608 GB, free: 5.879 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/1.808, allocations: 4 kB / 1.608 GB, free: 5.875 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01512/1.823, allocations: 8.352 MB / 1.617 GB, free: 13.22 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005594/1.829, allocations: 1.19 MB / 1.618 GB, free: 12.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1053/1.934, allocations: 53.87 MB / 1.67 GB, free: 4.707 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005607/1.94, allocations: 4.09 MB / 1.674 GB, free: 0.582 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002236/1.942, allocations: 0.6748 MB / 1.675 GB, free: 15.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.944, allocations: 2.124 MB / 1.677 GB, free: 13.78 MB / 1.279 GB Notification: Performance of SimCode: time 8.92e-07/1.944, allocations: 0 / 1.677 GB, free: 13.78 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.906/6.85, allocations: 150.9 MB / 1.824 GB, free: 449.7 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.13/28.98, allocations: 12.16 kB / 1.824 GB, free: 449.7 MB / 1.357 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches