Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001547/0.001547, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.519/2.519, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5622, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04006/0.6023, allocations: 37.96 MB / 1.054 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.026/0.6284, allocations: 11 MB / 1.065 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004104/0.6325, allocations: 155.2 kB / 1.065 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.6447, allocations: 4.355 MB / 1.07 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00824/0.653, allocations: 2.223 MB / 1.072 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007032/0.6601, allocations: 2.16 MB / 1.074 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01549/0.6756, allocations: 9.288 MB / 1.083 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02174/0.6973, allocations: 11.36 MB / 1.094 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00789/0.7053, allocations: 3.981 MB / 1.098 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009495/0.7148, allocations: 4.514 MB / 1.102 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002871/0.7177, allocations: 0.8203 MB / 1.103 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.7226, allocations: 1.58 MB / 1.105 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004715/0.7274, allocations: 3.154 MB / 1.108 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006594/0.734, allocations: 3.653 MB / 1.111 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.7467, allocations: 12.23 MB / 1.123 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7467, allocations: 0 / 1.123 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7467, allocations: 0 / 1.123 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003537/0.7471, allocations: 0 / 1.123 GB, free: 5.676 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01492/0.762, allocations: 6.315 MB / 1.129 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7621, allocations: 12.03 kB / 1.129 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.7633, allocations: 0.8255 MB / 1.13 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.7681, allocations: 1.071 MB / 1.131 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005697/0.7738, allocations: 3.423 MB / 1.135 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.7741, allocations: 419.8 kB / 1.135 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008246/0.775, allocations: 0.5433 MB / 1.136 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.7886, allocations: 9.369 MB / 1.145 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.7887, allocations: 35.64 kB / 1.145 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005628/0.7893, allocations: 248 kB / 1.145 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005852/0.7899, allocations: 414.9 kB / 1.145 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.8003, allocations: 7.123 MB / 1.152 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03677/0.8371, allocations: 41.32 MB / 1.193 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.8415, allocations: 3.104 MB / 1.196 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/0.8442, allocations: 2.137 MB / 1.198 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-05/0.8443, allocations: 22 kB / 1.198 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.8444, allocations: 64.56 kB / 1.198 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=209): time 3.587e-06/0.8444, allocations: 0 / 1.198 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=212): time 0.02211/0.8665, allocations: 10.56 MB / 1.208 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.8666, allocations: 73.41 kB / 1.208 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.8689, allocations: 2.002 MB / 1.21 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.869, allocations: 61.7 kB / 1.21 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.8705, allocations: 2.4 MB / 1.213 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/0.871, allocations: 0.7357 MB / 1.213 GB, free: 5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007149/0.8718, allocations: 481.2 kB / 1.214 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.8719, allocations: 301.1 kB / 1.214 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.8738, allocations: 1.376 MB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.8762, allocations: 2.112 MB / 1.218 GB, free: 424 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.8808, allocations: 3.762 MB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.8808, allocations: 4 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007614/0.8884, allocations: 5.073 MB / 1.226 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8885, allocations: 16 kB / 1.226 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.8885, allocations: 20 kB / 1.226 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.8919, allocations: 1.601 MB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.8936, allocations: 451.2 kB / 1.228 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/0.9156, allocations: 18.58 MB / 1.246 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.9176, allocations: 139.9 kB / 1.246 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.9179, allocations: 112 kB / 1.247 GB, free: 1.766 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.4399/1.358, allocations: 1.939 MB / 1.249 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007269/1.358, allocations: 289.2 kB / 1.249 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007511/1.366, allocations: 4.446 MB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/1.366, allocations: 25.36 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.366, allocations: 17.38 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.366, allocations: 12.14 kB / 1.253 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/1.384, allocations: 9.668 MB / 1.263 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.384, allocations: 4.797 kB / 1.263 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/1.385, allocations: 234.2 kB / 1.263 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/1.388, allocations: 1.432 MB / 1.264 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.388, allocations: 43.03 kB / 1.264 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/1.407, allocations: 18.58 MB / 1.282 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.407, allocations: 3.969 kB / 1.282 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/1.413, allocations: 4.536 MB / 1.287 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.415, allocations: 0.6316 MB / 1.287 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/1.415, allocations: 45.94 kB / 1.288 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.416, allocations: 119.5 kB / 1.288 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004592/1.417, allocations: 178 kB / 1.288 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.417, allocations: 66.75 kB / 1.288 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001572/1.418, allocations: 1.315 MB / 1.289 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.418, allocations: 4 kB / 1.289 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002621/1.421, allocations: 1.139 MB / 1.29 GB, free: 191.3 MB / 0.9981 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005569/1.427, allocations: 5.164 MB / 1.295 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007516/1.434, allocations: 5.905 MB / 1.301 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.434, allocations: 7.844 kB / 1.301 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/1.438, allocations: 2.909 MB / 1.304 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.441, allocations: 0.8816 MB / 1.305 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/1.477, allocations: 33.64 MB / 1.338 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/1.48, allocations: 3.695 MB / 1.341 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001724/1.482, allocations: 0.5595 MB / 1.342 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.483, allocations: 1.946 MB / 1.344 GB, free: 138 MB / 0.9981 GB Notification: Performance of SimCode: time 1.333e-06/1.483, allocations: 0 / 1.344 GB, free: 138 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.597, allocations: 85.69 MB / 1.427 GB, free: 53.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.48, allocations: 11.44 kB / 1.427 GB, free: 53.26 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_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_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches