Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.00115/0.00115, 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.001633/0.001633, allocations: 194.1 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.725/2.725, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 63.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6655, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01626/0.6818, allocations: 14.06 MB / 1.031 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.6968, allocations: 9.388 MB / 1.04 GB, free: 11.13 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.6985, allocations: 59.62 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004657/0.7032, allocations: 1.668 MB / 1.042 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.7084, allocations: 1.545 MB / 1.044 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.7107, allocations: 0.749 MB / 1.044 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.7141, allocations: 2.512 MB / 1.047 GB, free: 4.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/0.7163, allocations: 1.415 MB / 1.048 GB, free: 3.137 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.7182, allocations: 1.047 MB / 1.049 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.7201, allocations: 1.136 MB / 1.05 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.7206, allocations: 168 kB / 1.05 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.7224, allocations: 0.7839 MB / 1.051 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.723, allocations: 0.6232 MB / 1.052 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.724, allocations: 0.9406 MB / 1.053 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.7269, allocations: 2.734 MB / 1.055 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.7269, allocations: 4 kB / 1.055 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7269, allocations: 0 / 1.055 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.439e-05/0.727, allocations: 0 / 1.055 GB, free: 11.68 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003981/0.731, allocations: 2.127 MB / 1.057 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.731, allocations: 8.031 kB / 1.057 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.7312, allocations: 194.4 kB / 1.058 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.743, allocations: 2.089 MB / 1.06 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.7458, allocations: 1.205 MB / 1.061 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.7459, allocations: 90.73 kB / 1.061 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.7463, allocations: 119.9 kB / 1.061 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.7523, allocations: 2.682 MB / 1.064 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.7524, allocations: 11.84 kB / 1.064 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.7526, allocations: 55.98 kB / 1.064 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006642/0.7533, allocations: 178.1 kB / 1.064 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008005/0.7613, allocations: 2.795 MB / 1.067 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.7785, allocations: 10.5 MB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006966/0.7855, allocations: 2.53 MB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/0.7887, allocations: 1.289 MB / 1.081 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.758e-05/0.7888, allocations: 12.98 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.7888, allocations: 51.56 kB / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=89): time 3.366e-06/0.7888, allocations: 0 / 1.081 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=131): time 0.04798/0.8368, allocations: 13.36 MB / 1.094 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.8369, allocations: 64.72 kB / 1.094 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.8383, allocations: 1.113 MB / 1.095 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.8385, allocations: 45.7 kB / 1.095 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/0.839, allocations: 0.7194 MB / 1.096 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.8394, allocations: 453.4 kB / 1.096 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/0.8399, allocations: 263.5 kB / 1.096 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.84, allocations: 361.9 kB / 1.097 GB, free: 184 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/0.8434, allocations: 1.343 MB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/0.8469, allocations: 1.6 MB / 1.099 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00704/0.854, allocations: 2.994 MB / 1.102 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.854, allocations: 4 kB / 1.102 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01172/0.8658, allocations: 4.443 MB / 1.107 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.8658, allocations: 11.94 kB / 1.107 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8658, allocations: 4 kB / 1.107 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005216/0.8711, allocations: 1.435 MB / 1.108 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.8733, allocations: 443.2 kB / 1.109 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02647/0.8998, allocations: 26.7 MB / 1.135 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.9025, allocations: 307.5 kB / 1.135 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.9027, allocations: 63.97 kB / 1.135 GB, free: 6.727 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007695/0.9035, allocations: 438.5 kB / 1.135 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.9038, allocations: 158.1 kB / 1.136 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.9155, allocations: 4.453 MB / 1.14 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9155, allocations: 15.98 kB / 1.14 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/0.9156, allocations: 16 kB / 1.14 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.9156, allocations: 3.984 kB / 1.14 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.9305, allocations: 6.771 MB / 1.147 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.9305, allocations: 0 / 1.147 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.9324, allocations: 379.4 kB / 1.147 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/0.937, allocations: 1.318 MB / 1.148 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.9372, allocations: 39.97 kB / 1.148 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/0.9607, allocations: 25.51 MB / 1.173 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9608, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.9717, allocations: 4.2 MB / 1.177 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009865/0.9728, allocations: 455 kB / 1.178 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.9731, allocations: 31.91 kB / 1.178 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/0.9752, allocations: 307.5 kB / 1.178 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/0.9757, allocations: 128.6 kB / 1.178 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.9758, allocations: 51.97 kB / 1.178 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001092/0.9769, allocations: 0.7491 MB / 1.179 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9769, allocations: 0 / 1.179 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002179/0.9791, allocations: 0.5742 MB / 1.18 GB, free: 6.941 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01111/0.9902, allocations: 4.793 MB / 1.184 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.002, allocations: 5.506 MB / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.002, allocations: 0 / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006994/1.009, allocations: 3.491 MB / 1.193 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.012, allocations: 0.5611 MB / 1.194 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04165/1.054, allocations: 20.33 MB / 1.213 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.055, allocations: 1.477 MB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001766/1.056, allocations: 425.6 kB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/1.057, allocations: 0.6281 MB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/1.057, allocations: 0 / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6018/1.659, allocations: 51.27 MB / 1.266 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/12.01, allocations: 10.81 kB / 1.266 GB, free: 219.8 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches