Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.0008772/0.0008774, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005459/0.00546, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5815, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0373/0.6189, allocations: 39.87 MB / 1.062 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.6414, allocations: 14.93 MB / 1.077 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.6451, allocations: 159.1 kB / 1.077 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.6477, allocations: 0.8567 MB / 1.078 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.6541, allocations: 2.652 MB / 1.08 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.6601, allocations: 2.704 MB / 1.083 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01577/0.6759, allocations: 16 MB / 1.098 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02334/0.6992, allocations: 15.79 MB / 1.114 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.7054, allocations: 3.536 MB / 1.117 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007172/0.7126, allocations: 4.757 MB / 1.122 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.7143, allocations: 400 kB / 1.122 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.7191, allocations: 1.821 MB / 1.124 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004468/0.7236, allocations: 3 MB / 1.127 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006501/0.7301, allocations: 3.527 MB / 1.131 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.746, allocations: 13.58 MB / 1.144 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.7461, allocations: 0 / 1.144 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.031e-06/0.7461, allocations: 3.938 kB / 1.144 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003662/0.7465, allocations: 3.938 kB / 1.144 GB, free: 3.801 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01556/0.762, allocations: 6.154 MB / 1.15 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7621, allocations: 12.03 kB / 1.15 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002291/0.7644, allocations: 0.8956 MB / 1.151 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.7745, allocations: 1.514 MB / 1.152 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00791/0.7824, allocations: 4.213 MB / 1.156 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.7827, allocations: 456.5 kB / 1.157 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.7842, allocations: 0.5939 MB / 1.157 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.8025, allocations: 10.68 MB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.8027, allocations: 31.77 kB / 1.168 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006782/0.8034, allocations: 263.9 kB / 1.168 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/0.8061, allocations: 0.7768 MB / 1.169 GB, free: 9.664 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.8223, allocations: 8.561 MB / 1.177 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05945/0.8818, allocations: 47 MB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.8884, allocations: 4.316 MB / 1.227 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005861/0.8942, allocations: 3.681 MB / 1.231 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/0.8947, allocations: 34.78 kB / 1.231 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.13e-05/0.8948, allocations: 77.34 kB / 1.231 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 6.272e-06/0.8948, allocations: 0 / 1.231 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 0.9492/1.844, allocations: 128.1 MB / 1.356 GB, free: 132.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.844, allocations: 115.9 kB / 1.356 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.847, allocations: 2.681 MB / 1.359 GB, free: 130 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000773/1.848, allocations: 125.7 kB / 1.359 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.849, allocations: 2.674 MB / 1.362 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001611/1.851, allocations: 1.953 MB / 1.363 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006116/1.851, allocations: 446 kB / 1.364 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/1.851, allocations: 301.1 kB / 1.364 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004556/1.856, allocations: 4.075 MB / 1.368 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004882/1.861, allocations: 5.019 MB / 1.373 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.871, allocations: 9.852 MB / 1.383 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.871, allocations: 7.938 kB / 1.383 GB, free: 104.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03244/1.903, allocations: 17 MB / 1.399 GB, free: 87.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/1.904, allocations: 16 kB / 1.399 GB, free: 87.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/1.904, allocations: 24 kB / 1.399 GB, free: 87.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02774/1.931, allocations: 9.083 MB / 1.408 GB, free: 78.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.933, allocations: 0.5187 MB / 1.409 GB, free: 78.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07854/2.012, allocations: 70.72 MB / 1.478 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/2.017, allocations: 291.7 kB / 1.478 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/2.018, allocations: 184 kB / 1.478 GB, free: 5.406 MB / 0.9981 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003554/2.021, allocations: 2.421 MB / 1.481 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009593/2.022, allocations: 474.4 kB / 1.481 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/2.059, allocations: 16.81 MB / 1.497 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/2.059, allocations: 56 kB / 1.497 GB, free: 1.492 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001294/2.059, allocations: 72 kB / 1.498 GB, free: 1.422 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/2.059, allocations: 27.89 kB / 1.498 GB, free: 1.395 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04924/2.109, allocations: 25.69 MB / 1.523 GB, free: 7.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/2.109, allocations: 4 kB / 1.523 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/2.11, allocations: 323.5 kB / 1.523 GB, free: 7.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02759/2.138, allocations: 8.269 MB / 1.531 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005948/2.138, allocations: 108 kB / 1.531 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09982/2.238, allocations: 67.59 MB / 1.597 GB, free: 9.68 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-05/2.238, allocations: 11.98 kB / 1.597 GB, free: 9.668 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06192/2.3, allocations: 21.57 MB / 1.618 GB, free: 3.746 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003028/2.303, allocations: 1.366 MB / 1.62 GB, free: 2.355 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/2.305, allocations: 108 kB / 1.62 GB, free: 2.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/2.308, allocations: 283.7 kB / 1.62 GB, free: 1.973 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001934/2.31, allocations: 0.5221 MB / 1.62 GB, free: 1.441 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005407/2.311, allocations: 143.9 kB / 1.621 GB, free: 1.301 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002966/2.314, allocations: 1.783 MB / 1.622 GB, free: 15.53 MB / 1.154 GB Notification: Performance of sort global known variables: time 2e-07/2.314, allocations: 0 / 1.622 GB, free: 15.53 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.007191/2.321, allocations: 2.457 MB / 1.625 GB, free: 13.07 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03992/2.361, allocations: 22.29 MB / 1.647 GB, free: 6.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02665/2.388, allocations: 14.51 MB / 1.661 GB, free: 7.699 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/2.388, allocations: 1 kB / 1.661 GB, free: 7.699 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01852/2.406, allocations: 9.401 MB / 1.67 GB, free: 14.15 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01101/2.417, allocations: 1.28 MB / 1.671 GB, free: 12.89 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6063/3.024, allocations: 82.82 MB / 1.752 GB, free: 397.4 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004438/3.028, allocations: 4.898 MB / 1.757 GB, free: 396 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002414/3.031, allocations: 0.7447 MB / 1.758 GB, free: 395.9 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/3.033, allocations: 2.61 MB / 1.76 GB, free: 393.7 MB / 1.232 GB Notification: Performance of SimCode: time 7.71e-07/3.033, allocations: 0 / 1.76 GB, free: 393.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4023/3.435, allocations: 187.3 MB / 1.943 GB, free: 235 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/3.435, allocations: 256.8 kB / 1.943 GB, free: 234.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.448/8.884, allocations: 0 / 1.943 GB, free: 234.7 MB / 1.232 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches