Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007583/0.007583, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001959/0.001959, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.667/2.667, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 63.91 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7248, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04926/0.7741, allocations: 41.18 MB / 1.26 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02638/0.8005, allocations: 15.07 MB / 1.275 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.8044, allocations: 195 kB / 1.275 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.8162, allocations: 4.461 MB / 1.28 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007721/0.824, allocations: 2.79 MB / 1.282 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008315/0.8323, allocations: 3.161 MB / 1.285 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01531/0.8476, allocations: 11.4 MB / 1.297 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02001/0.8677, allocations: 12.47 MB / 1.309 GB, free: 6.906 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0083/0.876, allocations: 4.818 MB / 1.313 GB, free: 2.074 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009238/0.8853, allocations: 5.386 MB / 1.319 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.8881, allocations: 0.9531 MB / 1.32 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005565/0.8937, allocations: 2.044 MB / 1.322 GB, free: 9.672 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005687/0.8994, allocations: 3.684 MB / 1.325 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008351/0.9077, allocations: 4.299 MB / 1.329 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.9254, allocations: 14.32 MB / 1.343 GB, free: 3.305 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9254, allocations: 0 / 1.343 GB, free: 3.305 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9255, allocations: 0 / 1.343 GB, free: 3.305 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003169/0.9258, allocations: 0 / 1.343 GB, free: 3.305 MB / 1.061 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.01935/0.9451, allocations: 7.798 MB / 1.351 GB, free: 11.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9452, allocations: 8.031 kB / 1.351 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002019/0.9472, allocations: 0.8877 MB / 1.352 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.9572, allocations: 1.554 MB / 1.353 GB, free: 8.949 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008689/0.9659, allocations: 4.47 MB / 1.358 GB, free: 4.406 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/0.9663, allocations: 460.5 kB / 1.358 GB, free: 3.953 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.9677, allocations: 0.5939 MB / 1.359 GB, free: 3.359 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.9888, allocations: 10.69 MB / 1.369 GB, free: 8.289 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/0.9891, allocations: 35.72 kB / 1.369 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.9904, allocations: 263.9 kB / 1.37 GB, free: 7.996 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003087/0.9935, allocations: 0.7729 MB / 1.37 GB, free: 7.219 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/1.012, allocations: 8.561 MB / 1.379 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06696/1.079, allocations: 46.6 MB / 1.424 GB, free: 12.28 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007072/1.086, allocations: 4.314 MB / 1.428 GB, free: 7.957 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006028/1.092, allocations: 3.716 MB / 1.432 GB, free: 4.23 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/1.093, allocations: 46.77 kB / 1.432 GB, free: 4.184 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.124e-05/1.093, allocations: 77.28 kB / 1.432 GB, free: 4.098 MB / 1.154 GB Notification: Performance of pre-optimization done (n=353): time 5.72e-06/1.093, allocations: 0 / 1.432 GB, free: 4.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=578): time 0.5449/1.638, allocations: 122.9 MB / 1.552 GB, free: 8.371 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/1.638, allocations: 111.9 kB / 1.552 GB, free: 8.246 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/1.642, allocations: 2.677 MB / 1.555 GB, free: 5.57 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000953/1.643, allocations: 125.7 kB / 1.555 GB, free: 5.441 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.645, allocations: 2.757 MB / 1.558 GB, free: 2.66 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002651/1.648, allocations: 2.049 MB / 1.56 GB, free: 0.5938 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5174/2.165, allocations: 0.9236 MB / 1.561 GB, free: 314.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.71e-05/2.165, allocations: 303 kB / 1.561 GB, free: 314 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007104/2.172, allocations: 4.081 MB / 1.565 GB, free: 313.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/2.179, allocations: 5.015 MB / 1.57 GB, free: 310.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/2.192, allocations: 9.852 MB / 1.579 GB, free: 305.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/2.192, allocations: 7.875 kB / 1.579 GB, free: 305.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03494/2.227, allocations: 17.03 MB / 1.596 GB, free: 298.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/2.227, allocations: 13.44 kB / 1.596 GB, free: 298.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/2.227, allocations: 22.81 kB / 1.596 GB, free: 298.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02941/2.256, allocations: 9.083 MB / 1.605 GB, free: 296.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/2.259, allocations: 0.5205 MB / 1.605 GB, free: 296.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08544/2.344, allocations: 77.03 MB / 1.681 GB, free: 219.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/2.349, allocations: 283.9 kB / 1.681 GB, free: 219.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/2.349, allocations: 188 kB / 1.681 GB, free: 219.4 MB / 1.279 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.003164/2.353, allocations: 2.423 MB / 1.683 GB, free: 216.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008668/2.353, allocations: 498.6 kB / 1.684 GB, free: 216.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03285/2.386, allocations: 16.82 MB / 1.7 GB, free: 199.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/2.386, allocations: 59.98 kB / 1.7 GB, free: 199.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.324e-05/2.386, allocations: 72 kB / 1.701 GB, free: 199.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/2.386, allocations: 27.84 kB / 1.701 GB, free: 199.3 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0433/2.43, allocations: 25.65 MB / 1.726 GB, free: 173.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/2.43, allocations: 8 kB / 1.726 GB, free: 173.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/2.432, allocations: 323.6 kB / 1.726 GB, free: 173.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02604/2.458, allocations: 8.267 MB / 1.734 GB, free: 164.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006223/2.458, allocations: 112 kB / 1.734 GB, free: 164.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08042/2.539, allocations: 73.89 MB / 1.806 GB, free: 89.28 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/2.539, allocations: 12.06 kB / 1.806 GB, free: 89.27 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03512/2.574, allocations: 21.6 MB / 1.827 GB, free: 67.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/2.576, allocations: 1.378 MB / 1.829 GB, free: 65.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007302/2.577, allocations: 108 kB / 1.829 GB, free: 65.79 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/2.58, allocations: 291.6 kB / 1.829 GB, free: 65.51 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001618/2.582, allocations: 0.5254 MB / 1.83 GB, free: 64.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003545/2.582, allocations: 144 kB / 1.83 GB, free: 64.84 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001859/2.584, allocations: 1.78 MB / 1.831 GB, free: 63.07 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.7e-07/2.584, allocations: 4 kB / 1.831 GB, free: 63.07 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005384/2.59, allocations: 2.457 MB / 1.834 GB, free: 60.61 MB / 1.279 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.03489/2.625, allocations: 22.3 MB / 1.856 GB, free: 37.95 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02082/2.645, allocations: 14.57 MB / 1.87 GB, free: 23.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/2.645, allocations: 5 kB / 1.87 GB, free: 23.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/2.66, allocations: 9.396 MB / 1.879 GB, free: 13.64 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005534/2.666, allocations: 1.374 MB / 1.88 GB, free: 12.31 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1407/2.806, allocations: 70.41 MB / 1.949 GB, free: 4.262 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008734/2.815, allocations: 4.89 MB / 1.954 GB, free: 15.33 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002788/2.818, allocations: 0.7449 MB / 1.955 GB, free: 14.58 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00377/2.822, allocations: 2.608 MB / 1.957 GB, free: 11.97 MB / 1.357 GB Notification: Performance of SimCode: time 1.142e-06/2.822, allocations: 0 / 1.957 GB, free: 11.97 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8785/3.7, allocations: 196.5 MB / 2.149 GB, free: 0.4999 GB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.47/24.17, allocations: 5.125 kB / 2.149 GB, free: 0.4999 GB / 1.514 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches