Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001076/0.001076, 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.001147/0.001147, allocations: 195 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.372/2.372, allocations: 390.3 MB / 0.6647 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 59.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6155/0.6169, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0149/0.6318, allocations: 14.77 MB / 0.9642 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.6487, allocations: 10.35 MB / 0.9743 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.6509, allocations: 57.56 kB / 0.9743 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004898/0.6559, allocations: 1.695 MB / 0.976 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.6631, allocations: 1.806 MB / 0.9777 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.6659, allocations: 0.7638 MB / 0.9785 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005267/0.6711, allocations: 2.741 MB / 0.9812 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.6737, allocations: 1.418 MB / 0.9825 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003689/0.6774, allocations: 1.507 MB / 0.984 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.6809, allocations: 1.152 MB / 0.9851 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008472/0.6817, allocations: 160 kB / 0.9853 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.6849, allocations: 0.7877 MB / 0.9861 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.6863, allocations: 0.6037 MB / 0.9867 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002873/0.6892, allocations: 0.9561 MB / 0.9876 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006057/0.6953, allocations: 2.737 MB / 0.9903 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6953, allocations: 0 / 0.9903 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6953, allocations: 0 / 0.9903 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.99e-05/0.6954, allocations: 0 / 0.9903 GB, free: 8.16 MB / 0.7481 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.007588/0.703, allocations: 2.174 MB / 0.9924 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7031, allocations: 8.031 kB / 0.9924 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005039/0.7036, allocations: 210.3 kB / 0.9926 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/0.7172, allocations: 2.105 MB / 0.9946 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.7201, allocations: 1.206 MB / 0.9958 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.088e-05/0.7202, allocations: 94.67 kB / 0.9959 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/0.7206, allocations: 119.9 kB / 0.996 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/0.727, allocations: 2.676 MB / 0.9986 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.321e-05/0.727, allocations: 7.938 kB / 0.9987 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/0.7272, allocations: 59.92 kB / 0.9987 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006739/0.7279, allocations: 190.1 kB / 0.9989 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007974/0.7359, allocations: 2.795 MB / 1.002 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.7518, allocations: 10.51 MB / 1.012 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006873/0.7587, allocations: 2.34 MB / 1.014 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/0.7619, allocations: 1.276 MB / 1.015 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.762, allocations: 13 kB / 1.015 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.762, allocations: 43.56 kB / 1.015 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 3.707e-06/0.762, allocations: 0 / 1.015 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.06173/0.8238, allocations: 16.47 MB / 1.032 GB, free: 12.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.8239, allocations: 68.72 kB / 1.032 GB, free: 12.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.8258, allocations: 1.172 MB / 1.033 GB, free: 11.54 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.826, allocations: 53.7 kB / 1.033 GB, free: 11.48 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000621/0.8266, allocations: 0.7397 MB / 1.034 GB, free: 10.74 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005351/0.8271, allocations: 0.5199 MB / 1.034 GB, free: 10.21 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.8277, allocations: 287.4 kB / 1.034 GB, free: 9.926 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8279, allocations: 305.1 kB / 1.035 GB, free: 9.625 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/0.8316, allocations: 1.507 MB / 1.036 GB, free: 8.117 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003795/0.8354, allocations: 1.78 MB / 1.038 GB, free: 6.242 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007603/0.843, allocations: 3.369 MB / 1.041 GB, free: 2.773 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.843, allocations: 4 kB / 1.041 GB, free: 2.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01439/0.8574, allocations: 5.272 MB / 1.046 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.8575, allocations: 8 kB / 1.046 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.8575, allocations: 11.98 kB / 1.046 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007307/0.8649, allocations: 1.904 MB / 1.048 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.8671, allocations: 415.2 kB / 1.049 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03131/0.8985, allocations: 24.14 MB / 1.072 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.9013, allocations: 303.6 kB / 1.072 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/0.9016, allocations: 71.91 kB / 1.072 GB, free: 1.473 MB / 0.8262 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,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009749/0.9026, allocations: 461.4 kB / 1.073 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.9031, allocations: 181.8 kB / 1.073 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.9172, allocations: 5.324 MB / 1.078 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.9173, allocations: 16 kB / 1.078 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/0.9174, allocations: 20 kB / 1.078 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.9174, allocations: 11.97 kB / 1.078 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/0.9351, allocations: 7.425 MB / 1.086 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.9352, allocations: 0 / 1.086 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.937, allocations: 355.4 kB / 1.086 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.9432, allocations: 1.721 MB / 1.088 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.9434, allocations: 44 kB / 1.088 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/0.9727, allocations: 23.31 MB / 1.11 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.9728, allocations: 7.984 kB / 1.11 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.9856, allocations: 4.885 MB / 1.115 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009828/0.9866, allocations: 494.9 kB / 1.116 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/0.9871, allocations: 35.88 kB / 1.116 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.9895, allocations: 323.6 kB / 1.116 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.99, allocations: 149 kB / 1.116 GB, free: 3.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.9902, allocations: 63.89 kB / 1.116 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001162/0.9913, allocations: 0.7899 MB / 1.117 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9914, allocations: 0 / 1.117 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002182/0.9935, allocations: 0.6562 MB / 1.118 GB, free: 1.824 MB / 0.8731 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,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01297/1.007, allocations: 5.471 MB / 1.123 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.019, allocations: 5.425 MB / 1.128 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.019, allocations: 0 / 1.128 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0076/1.027, allocations: 3.362 MB / 1.132 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.03, allocations: 0.5638 MB / 1.132 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0503/1.08, allocations: 22.99 MB / 1.155 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/1.082, allocations: 1.564 MB / 1.156 GB, free: 9.254 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001831/1.084, allocations: 382.4 kB / 1.156 GB, free: 8.875 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.085, allocations: 0.6632 MB / 1.157 GB, free: 8.211 MB / 0.92 GB Notification: Performance of SimCode: time 8.21e-07/1.085, allocations: 0 / 1.157 GB, free: 8.211 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/1.231, allocations: 58.34 MB / 1.214 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.82, allocations: 7.906 kB / 1.214 GB, free: 14.55 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches