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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001371/0.001371, allocations: 196.8 kB / 16.14 MB, free: 6.711 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: 222.9 MB / 239.8 MB, free: 4.598 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.461/2.461, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5402, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03798/0.5782, allocations: 40.81 MB / 1.057 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.5992, allocations: 15.05 MB / 1.071 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004149/0.6034, allocations: 171.1 kB / 1.071 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.6136, allocations: 4.153 MB / 1.075 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.6201, allocations: 2.644 MB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006496/0.6266, allocations: 2.885 MB / 1.081 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01622/0.6428, allocations: 16 MB / 1.097 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01942/0.6623, allocations: 13.65 MB / 1.11 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006856/0.6692, allocations: 4.102 MB / 1.114 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008166/0.6774, allocations: 5.475 MB / 1.119 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001913/0.6793, allocations: 0.6133 MB / 1.12 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.6841, allocations: 2.048 MB / 1.122 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004407/0.6885, allocations: 3.36 MB / 1.125 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006655/0.6951, allocations: 3.92 MB / 1.129 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.7095, allocations: 14.03 MB / 1.143 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7095, allocations: 7.938 kB / 1.143 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7095, allocations: 3.938 kB / 1.143 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003375/0.7098, allocations: 0 / 1.143 GB, free: 1.41 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.01722/0.7271, allocations: 7.589 MB / 1.15 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7271, allocations: 12.03 kB / 1.15 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/0.7287, allocations: 0.8955 MB / 1.151 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009641/0.7384, allocations: 1.518 MB / 1.152 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00808/0.7465, allocations: 4.205 MB / 1.157 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.7468, allocations: 456.5 kB / 1.157 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.7483, allocations: 0.5978 MB / 1.158 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.7662, allocations: 10.69 MB / 1.168 GB, free: 6.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.7663, allocations: 27.67 kB / 1.168 GB, free: 6.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007171/0.767, allocations: 267.9 kB / 1.168 GB, free: 6.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002636/0.7697, allocations: 0.7729 MB / 1.169 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.7849, allocations: 8.561 MB / 1.177 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/0.8407, allocations: 46.85 MB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005652/0.8463, allocations: 4.307 MB / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005031/0.8514, allocations: 3.697 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.8517, allocations: 38.78 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.8518, allocations: 77.33 kB / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 4.749e-06/0.8518, allocations: 0 / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 0.833/1.685, allocations: 122.7 MB / 1.351 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.685, allocations: 115.9 kB / 1.351 GB, free: 135 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002889/1.688, allocations: 2.687 MB / 1.354 GB, free: 132.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009125/1.689, allocations: 117.7 kB / 1.354 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.69, allocations: 2.682 MB / 1.356 GB, free: 129.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00153/1.691, allocations: 1.953 MB / 1.358 GB, free: 127.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/1.693, allocations: 0.9209 MB / 1.359 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.122e-05/1.693, allocations: 301.1 kB / 1.359 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004549/1.697, allocations: 4.083 MB / 1.363 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/1.702, allocations: 5.015 MB / 1.368 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.713, allocations: 9.853 MB / 1.378 GB, free: 106.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/1.713, allocations: 11.94 kB / 1.378 GB, free: 106.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04695/1.76, allocations: 16.99 MB / 1.395 GB, free: 89.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/1.76, allocations: 16 kB / 1.395 GB, free: 89.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/1.76, allocations: 20 kB / 1.395 GB, free: 89.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03704/1.797, allocations: 9.085 MB / 1.403 GB, free: 80.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.799, allocations: 0.5226 MB / 1.404 GB, free: 79.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07975/1.879, allocations: 70.51 MB / 1.473 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.883, allocations: 279.8 kB / 1.473 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005986/1.884, allocations: 196 kB / 1.473 GB, free: 7.41 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.0032/1.887, allocations: 2.421 MB / 1.476 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009203/1.888, allocations: 477.4 kB / 1.476 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03366/1.921, allocations: 16.82 MB / 1.493 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.922, allocations: 56 kB / 1.493 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-05/1.922, allocations: 72 kB / 1.493 GB, free: 3.426 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-05/1.922, allocations: 27.89 kB / 1.493 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04719/1.969, allocations: 25.66 MB / 1.518 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/1.969, allocations: 9.062 kB / 1.518 GB, free: 9.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.971, allocations: 331.4 kB / 1.518 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02776/1.998, allocations: 8.269 MB / 1.526 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009048/1.999, allocations: 104 kB / 1.526 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08784/2.087, allocations: 67.38 MB / 1.592 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/2.087, allocations: 11.94 kB / 1.592 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03991/2.127, allocations: 21.56 MB / 1.613 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/2.13, allocations: 1.366 MB / 1.614 GB, free: 4.605 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/2.131, allocations: 104 kB / 1.615 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/2.135, allocations: 291.6 kB / 1.615 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/2.137, allocations: 0.5182 MB / 1.615 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/2.137, allocations: 147.9 kB / 1.615 GB, free: 3.547 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002431/2.139, allocations: 1.776 MB / 1.617 GB, free: 1.781 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.472e-06/2.139, allocations: 0 / 1.617 GB, free: 1.781 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.008004/2.147, allocations: 2.465 MB / 1.62 GB, free: 15.31 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.04017/2.188, allocations: 22.28 MB / 1.641 GB, free: 8.672 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02761/2.215, allocations: 14.49 MB / 1.656 GB, free: 9.988 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/2.215, allocations: 0 / 1.656 GB, free: 9.988 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0178/2.233, allocations: 9.361 MB / 1.665 GB, free: 496 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006188/2.239, allocations: 1.276 MB / 1.666 GB, free: 15.23 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5803/2.82, allocations: 82.76 MB / 1.747 GB, free: 393.8 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004701/2.824, allocations: 4.897 MB / 1.752 GB, free: 392.5 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002556/2.827, allocations: 0.7415 MB / 1.752 GB, free: 392.5 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/2.829, allocations: 2.607 MB / 1.755 GB, free: 390.2 MB / 1.232 GB Notification: Performance of SimCode: time 1.132e-06/2.829, allocations: 0 / 1.755 GB, free: 390.2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7121/3.541, allocations: 191.8 MB / 1.942 GB, free: 227.9 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/3.541, allocations: 255.3 kB / 1.942 GB, free: 227.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.016/9.557, allocations: 0 / 1.942 GB, free: 227.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