Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.007153/0.007154, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001688/0.001688, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.374/2.374, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 70.7 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2669, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03786/0.3047, allocations: 32.6 MB / 1.119 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.3216, allocations: 10.27 MB / 1.129 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002688/0.3244, allocations: 147.2 kB / 1.129 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009232/0.3336, allocations: 3.712 MB / 1.133 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.3391, allocations: 1.858 MB / 1.135 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.3447, allocations: 2.147 MB / 1.137 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008732/0.3534, allocations: 7.321 MB / 1.144 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.3648, allocations: 9.407 MB / 1.153 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.3702, allocations: 3.174 MB / 1.156 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.3754, allocations: 3.485 MB / 1.16 GB, free: 7.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.3766, allocations: 0.6445 MB / 1.161 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.3803, allocations: 1.771 MB / 1.162 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.3831, allocations: 2.546 MB / 1.165 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00357/0.3867, allocations: 2.898 MB / 1.168 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.397, allocations: 10.1 MB / 1.177 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.397, allocations: 7.984 kB / 1.177 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.397, allocations: 4 kB / 1.177 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002115/0.3972, allocations: 0 / 1.177 GB, free: 5.535 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009226/0.4065, allocations: 5.002 MB / 1.182 GB, free: 472 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4065, allocations: 12.03 kB / 1.182 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000913/0.4075, allocations: 0.6781 MB / 1.183 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.4124, allocations: 0.959 MB / 1.184 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/0.4182, allocations: 3.046 MB / 1.187 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4184, allocations: 345.7 kB / 1.187 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/0.4192, allocations: 468.2 kB / 1.188 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.4304, allocations: 7.663 MB / 1.195 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.4306, allocations: 31.72 kB / 1.195 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.431, allocations: 200 kB / 1.195 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.4313, allocations: 313 kB / 1.196 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008771/0.4401, allocations: 5.706 MB / 1.201 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/0.4739, allocations: 34.83 MB / 1.235 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.4768, allocations: 2.156 MB / 1.237 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.4784, allocations: 1.261 MB / 1.239 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/0.4785, allocations: 13.31 kB / 1.239 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4786, allocations: 43.88 kB / 1.239 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 5.06e-06/0.4786, allocations: 3.984 kB / 1.239 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136): time 0.01369/0.4923, allocations: 7.092 MB / 1.246 GB, free: 11.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.4923, allocations: 72.66 kB / 1.246 GB, free: 11.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.4944, allocations: 1.48 MB / 1.247 GB, free: 10.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.436e-05/0.4945, allocations: 45.7 kB / 1.247 GB, free: 9.961 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.4958, allocations: 2.008 MB / 1.249 GB, free: 7.926 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.4963, allocations: 497 kB / 1.25 GB, free: 7.434 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004825/0.4968, allocations: 347.2 kB / 1.25 GB, free: 7.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.4969, allocations: 305.1 kB / 1.25 GB, free: 6.789 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4981, allocations: 0.9096 MB / 1.251 GB, free: 5.879 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4998, allocations: 1.589 MB / 1.253 GB, free: 3.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/0.503, allocations: 2.741 MB / 1.255 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.503, allocations: 12 kB / 1.255 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.5503/1.053, allocations: 3.524 MB / 1.259 GB, free: 154 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.053, allocations: 14.69 kB / 1.259 GB, free: 154 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.619e-05/1.053, allocations: 22.55 kB / 1.259 GB, free: 154 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/1.056, allocations: 0.9008 MB / 1.26 GB, free: 153.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.058, allocations: 346.7 kB / 1.26 GB, free: 153.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.076, allocations: 23.1 MB / 1.283 GB, free: 134.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.078, allocations: 104.7 kB / 1.283 GB, free: 134.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.078, allocations: 86.41 kB / 1.283 GB, free: 134.5 MB / 1.014 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002607/1.081, allocations: 1.611 MB / 1.284 GB, free: 133.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/1.081, allocations: 206.6 kB / 1.285 GB, free: 133.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/1.087, allocations: 2.988 MB / 1.287 GB, free: 132.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.087, allocations: 12.34 kB / 1.287 GB, free: 132.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/1.087, allocations: 10.12 kB / 1.287 GB, free: 132.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.087, allocations: 13.08 kB / 1.287 GB, free: 132.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/1.099, allocations: 7.335 MB / 1.295 GB, free: 129.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.099, allocations: 9.406 kB / 1.295 GB, free: 129.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/1.1, allocations: 182.4 kB / 1.295 GB, free: 129.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/1.102, allocations: 0.8153 MB / 1.296 GB, free: 129 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.103, allocations: 25.06 kB / 1.296 GB, free: 128.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/1.118, allocations: 21.95 MB / 1.317 GB, free: 109.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.118, allocations: 9.531 kB / 1.317 GB, free: 109.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004796/1.123, allocations: 3.025 MB / 1.32 GB, free: 108.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.124, allocations: 457 kB / 1.32 GB, free: 108.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/1.124, allocations: 32.25 kB / 1.321 GB, free: 108.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/1.125, allocations: 76.66 kB / 1.321 GB, free: 108.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/1.125, allocations: 128.3 kB / 1.321 GB, free: 108.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/1.125, allocations: 35.78 kB / 1.321 GB, free: 108.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001169/1.127, allocations: 0.9783 MB / 1.322 GB, free: 107.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.127, allocations: 0 / 1.322 GB, free: 107.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002945/1.13, allocations: 0.7878 MB / 1.322 GB, free: 107.7 MB / 1.014 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004543/1.134, allocations: 3.609 MB / 1.326 GB, free: 105.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004921/1.139, allocations: 4.041 MB / 1.33 GB, free: 103.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.139, allocations: 1.781 kB / 1.33 GB, free: 103.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.142, allocations: 2.731 MB / 1.333 GB, free: 101.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.145, allocations: 0.7313 MB / 1.333 GB, free: 101.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/1.172, allocations: 22.34 MB / 1.355 GB, free: 83.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/1.176, allocations: 3.104 MB / 1.358 GB, free: 80.44 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001222/1.177, allocations: 454 kB / 1.359 GB, free: 80 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/1.179, allocations: 1.538 MB / 1.36 GB, free: 78.46 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.179, allocations: 4 kB / 1.36 GB, free: 78.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.286, allocations: 61.44 MB / 1.42 GB, free: 17.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.83, allocations: 8.5 kB / 1.42 GB, free: 17.58 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches