Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.008065/0.008065, allocations: 102.2 kB / 15.73 MB, free: 5.996 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.002047/0.002047, allocations: 185.5 kB / 16.67 MB, free: 5.93 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.528/2.528, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 71.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2484, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03704/0.2855, allocations: 35.11 MB / 1.2 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3021, allocations: 9.956 MB / 1.21 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.3051, allocations: 147.2 kB / 1.21 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009493/0.3146, allocations: 3.813 MB / 1.214 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.32, allocations: 2.138 MB / 1.216 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004486/0.3245, allocations: 1.96 MB / 1.218 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008455/0.3329, allocations: 7.994 MB / 1.226 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.3435, allocations: 9.538 MB / 1.235 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004894/0.3484, allocations: 3.416 MB / 1.239 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004835/0.3533, allocations: 3.738 MB / 1.242 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.3544, allocations: 0.6758 MB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.357, allocations: 1.44 MB / 1.244 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002427/0.3595, allocations: 2.627 MB / 1.247 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003703/0.3632, allocations: 3.104 MB / 1.25 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5671/0.9303, allocations: 10.4 MB / 1.26 GB, free: 27.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.9303, allocations: 0 / 1.26 GB, free: 27.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9304, allocations: 0.75 kB / 1.26 GB, free: 27.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003165/0.9307, allocations: 0 / 1.26 GB, free: 27.67 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02061/0.9513, allocations: 5.534 MB / 1.265 GB, free: 25.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.9514, allocations: 9.156 kB / 1.265 GB, free: 25.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003807/0.9552, allocations: 0.701 MB / 1.266 GB, free: 25.47 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007277/0.9625, allocations: 0.9868 MB / 1.267 GB, free: 25.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007483/0.97, allocations: 3.2 MB / 1.27 GB, free: 24.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.9703, allocations: 358.2 kB / 1.271 GB, free: 24.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.972, allocations: 472.4 kB / 1.271 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.9913, allocations: 7.902 MB / 1.279 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/0.9915, allocations: 19.78 kB / 1.279 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.9927, allocations: 206.2 kB / 1.279 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005539/0.9932, allocations: 371.5 kB / 1.279 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/1.007, allocations: 5.941 MB / 1.285 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/1.045, allocations: 36 MB / 1.32 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/1.048, allocations: 2.143 MB / 1.322 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.05, allocations: 1.473 MB / 1.324 GB, free: 9.492 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/1.05, allocations: 21.06 kB / 1.324 GB, free: 9.488 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.05, allocations: 61.77 kB / 1.324 GB, free: 9.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/1.05, allocations: 0 / 1.324 GB, free: 9.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.01467/1.065, allocations: 7.593 MB / 1.331 GB, free: 5.117 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.065, allocations: 72.38 kB / 1.331 GB, free: 5.051 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/1.068, allocations: 1.866 MB / 1.333 GB, free: 4.023 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/1.068, allocations: 53.86 kB / 1.333 GB, free: 3.973 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/1.069, allocations: 2.185 MB / 1.335 GB, free: 2.055 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/1.07, allocations: 0.5843 MB / 1.336 GB, free: 1.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006573/1.07, allocations: 400.6 kB / 1.336 GB, free: 1.324 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/1.07, allocations: 302.2 kB / 1.337 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.072, allocations: 1.066 MB / 1.338 GB, free: 480 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/1.074, allocations: 1.761 MB / 1.339 GB, free: 15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/1.077, allocations: 3.051 MB / 1.342 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.077, allocations: 7.125 kB / 1.342 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006164/1.084, allocations: 3.941 MB / 1.346 GB, free: 10.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/1.084, allocations: 14.19 kB / 1.346 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.084, allocations: 23.41 kB / 1.346 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/1.086, allocations: 0.9464 MB / 1.347 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.088, allocations: 419.2 kB / 1.348 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/1.106, allocations: 22.77 MB / 1.37 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.109, allocations: 126.7 kB / 1.37 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/1.109, allocations: 93 kB / 1.37 GB, free: 5.43 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002962/1.112, allocations: 1.651 MB / 1.372 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/1.113, allocations: 263.6 kB / 1.372 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/1.118, allocations: 3.268 MB / 1.375 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.118, allocations: 15.75 kB / 1.375 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.118, allocations: 7.875 kB / 1.375 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.118, allocations: 7.969 kB / 1.375 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/1.13, allocations: 7.56 MB / 1.382 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.13, allocations: 10.45 kB / 1.382 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/1.131, allocations: 212.3 kB / 1.383 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/1.134, allocations: 0.893 MB / 1.384 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/1.134, allocations: 36 kB / 1.384 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/1.154, allocations: 22.74 MB / 1.406 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.154, allocations: 8 kB / 1.406 GB, free: 4.855 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/1.16, allocations: 3.386 MB / 1.409 GB, free: 1.398 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.161, allocations: 0.5422 MB / 1.41 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/1.162, allocations: 39.98 kB / 1.41 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.163, allocations: 95.83 kB / 1.41 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/1.164, allocations: 140.3 kB / 1.41 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.164, allocations: 48 kB / 1.41 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0017/1.165, allocations: 1.225 MB / 1.411 GB, free: 15.29 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.165, allocations: 0 / 1.411 GB, free: 15.29 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003514/1.169, allocations: 0.9023 MB / 1.412 GB, free: 14.39 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005848/1.175, allocations: 3.999 MB / 1.416 GB, free: 10.32 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006315/1.181, allocations: 4.441 MB / 1.42 GB, free: 5.848 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.181, allocations: 4.25 kB / 1.42 GB, free: 5.844 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/1.185, allocations: 3.004 MB / 1.423 GB, free: 2.719 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/1.19, allocations: 0.8239 MB / 1.424 GB, free: 1.918 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03998/1.23, allocations: 25.19 MB / 1.449 GB, free: 7.855 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003603/1.233, allocations: 3.203 MB / 1.452 GB, free: 4.625 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001732/1.235, allocations: 0.5254 MB / 1.452 GB, free: 4.094 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.237, allocations: 1.651 MB / 1.454 GB, free: 2.441 MB / 1.123 GB Notification: Performance of SimCode: time 6.11e-07/1.237, allocations: 0 / 1.454 GB, free: 2.441 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.365, allocations: 70.26 MB / 1.522 GB, free: 13.29 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/15.18, allocations: 9.031 kB / 1.522 GB, free: 13.28 MB / 1.201 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches