Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.00683/0.00683, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.00172/0.00172, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.11 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2214, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01256/0.2339, allocations: 10.9 MB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2461, allocations: 8.799 MB / 1.107 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.2471, allocations: 59.62 kB / 1.107 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004033/0.2511, allocations: 1.668 MB / 1.108 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.2545, allocations: 1.566 MB / 1.11 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.256, allocations: 0.6705 MB / 1.111 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.2582, allocations: 2.294 MB / 1.113 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.2598, allocations: 1.372 MB / 1.114 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.2609, allocations: 1.008 MB / 1.115 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.2621, allocations: 1.019 MB / 1.116 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.2623, allocations: 143.9 kB / 1.116 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2635, allocations: 0.8033 MB / 1.117 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.264, allocations: 0.5687 MB / 1.118 GB, free: 3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.2648, allocations: 0.8823 MB / 1.118 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.2672, allocations: 2.58 MB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2672, allocations: 4 kB / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2672, allocations: 0 / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.2673, allocations: 0 / 1.121 GB, free: 15.52 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003062/0.2703, allocations: 2.07 MB / 1.123 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2704, allocations: 12.03 kB / 1.123 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.2706, allocations: 198 kB / 1.123 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.2826, allocations: 2.055 MB / 1.125 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.2848, allocations: 1.225 MB / 1.126 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.768e-05/0.2849, allocations: 86.7 kB / 1.127 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.2851, allocations: 115.9 kB / 1.127 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.2906, allocations: 2.482 MB / 1.129 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.2907, allocations: 11.94 kB / 1.129 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.2908, allocations: 44 kB / 1.129 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000372/0.2912, allocations: 134.1 kB / 1.129 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007569/0.2988, allocations: 2.541 MB / 1.132 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.3116, allocations: 10.05 MB / 1.142 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006691/0.3183, allocations: 1.954 MB / 1.143 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/0.3212, allocations: 0.9776 MB / 1.144 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.3212, allocations: 8.438 kB / 1.144 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.3213, allocations: 35 kB / 1.144 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 2.295e-06/0.3213, allocations: 0 / 1.144 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=81): time 0.03273/0.354, allocations: 8.733 MB / 1.153 GB, free: 13.76 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3541, allocations: 67.94 kB / 1.153 GB, free: 13.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3554, allocations: 1.097 MB / 1.154 GB, free: 12.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.3555, allocations: 45.7 kB / 1.154 GB, free: 12.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.356, allocations: 0.7474 MB / 1.155 GB, free: 11.76 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.3563, allocations: 301.4 kB / 1.155 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.3567, allocations: 198.5 kB / 1.155 GB, free: 11.26 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3568, allocations: 341.9 kB / 1.156 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/0.36, allocations: 1.075 MB / 1.157 GB, free: 9.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.3633, allocations: 1.309 MB / 1.158 GB, free: 8.441 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/0.3697, allocations: 2.378 MB / 1.16 GB, free: 5.965 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3697, allocations: 0 / 1.16 GB, free: 5.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009318/0.379, allocations: 3.293 MB / 1.164 GB, free: 2.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.379, allocations: 8 kB / 1.164 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.3791, allocations: 4 kB / 1.164 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/0.382, allocations: 0.7913 MB / 1.164 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.3841, allocations: 415.2 kB / 1.165 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.3999, allocations: 15.92 MB / 1.18 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.4023, allocations: 295.6 kB / 1.181 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.4025, allocations: 51.97 kB / 1.181 GB, free: 20 kB / 0.9356 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0007484/0.4032, allocations: 397.4 kB / 1.181 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.4036, allocations: 151.1 kB / 1.181 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009352/0.4129, allocations: 3.206 MB / 1.184 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.413, allocations: 8 kB / 1.184 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.413, allocations: 8 kB / 1.184 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.413, allocations: 3.984 kB / 1.184 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.4248, allocations: 4.913 MB / 1.189 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.4249, allocations: 4 kB / 1.189 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.4267, allocations: 351.7 kB / 1.189 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/0.4292, allocations: 0.7058 MB / 1.19 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4293, allocations: 31.97 kB / 1.19 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.4445, allocations: 15.54 MB / 1.205 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4446, allocations: 8.062 kB / 1.205 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008636/0.4532, allocations: 3.048 MB / 1.208 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008296/0.4541, allocations: 388 kB / 1.209 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.4544, allocations: 20 kB / 1.209 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.4565, allocations: 299.4 kB / 1.209 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.4567, allocations: 76.48 kB / 1.209 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.765e-05/0.4568, allocations: 35.97 kB / 1.209 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001015/0.4578, allocations: 0.7405 MB / 1.21 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4578, allocations: 4 kB / 1.21 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00146/0.4593, allocations: 435.9 kB / 1.21 GB, free: 272 kB / 0.9669 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008764/0.4681, allocations: 3.618 MB / 1.214 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008842/0.4769, allocations: 3.64 MB / 1.217 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.477, allocations: 4.062 kB / 1.217 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005145/0.4821, allocations: 2.367 MB / 1.22 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.4843, allocations: 0.5178 MB / 1.22 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/0.5179, allocations: 15.87 MB / 1.236 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.5189, allocations: 1.388 MB / 1.237 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001316/0.5203, allocations: 375.9 kB / 1.237 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008297/0.5211, allocations: 0.5968 MB / 1.238 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.5211, allocations: 4 kB / 1.238 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5153/1.036, allocations: 41.51 MB / 1.278 GB, free: 154.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.47, allocations: 13.31 kB / 1.278 GB, free: 154.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.OnePhase.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_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches