Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.00088/0.0008801, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004956/0.004956, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 11.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5909, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004964/0.5959, allocations: 5.744 MB / 0.9608 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.5996, allocations: 3.149 MB / 0.9639 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.5999, allocations: 24.84 kB / 0.9639 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.6001, allocations: 121.8 kB / 0.964 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007211/0.6009, allocations: 440.5 kB / 0.9644 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.6017, allocations: 466.8 kB / 0.9649 GB, free: 52 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.6029, allocations: 1.465 MB / 0.9663 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.6045, allocations: 0.9834 MB / 0.9673 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.605, allocations: 365.5 kB / 0.9676 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.6056, allocations: 450.4 kB / 0.968 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.6056, allocations: 29.97 kB / 0.9681 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.6065, allocations: 0.5699 MB / 0.9686 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.6068, allocations: 255.3 kB / 0.9689 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.6071, allocations: 383.2 kB / 0.9692 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.6083, allocations: 1.172 MB / 0.9704 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6083, allocations: 1.344 kB / 0.9704 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6083, allocations: 3.938 kB / 0.9704 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6083, allocations: 4 kB / 0.9704 GB, free: 12.62 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001362/0.6097, allocations: 0.9171 MB / 0.9713 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6097, allocations: 9.031 kB / 0.9713 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.6099, allocations: 108.2 kB / 0.9714 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.6113, allocations: 234.6 kB / 0.9716 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.612, allocations: 0.5317 MB / 0.9721 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.6121, allocations: 46.73 kB / 0.9722 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6122, allocations: 69.33 kB / 0.9722 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.6136, allocations: 1.033 MB / 0.9733 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.6136, allocations: 8.188 kB / 0.9733 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-05/0.6137, allocations: 31.8 kB / 0.9733 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-05/0.6138, allocations: 75.17 kB / 0.9734 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.6148, allocations: 0.6914 MB / 0.974 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/0.6198, allocations: 5.767 MB / 0.9797 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/0.6206, allocations: 0.5999 MB / 0.9803 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.6214, allocations: 417.6 kB / 0.9807 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.6215, allocations: 8.672 kB / 0.9807 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.6215, allocations: 35.91 kB / 0.9807 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/0.6215, allocations: 1.531 kB / 0.9807 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004352/0.6259, allocations: 2.063 MB / 0.9827 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.6259, allocations: 55.41 kB / 0.9828 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.6264, allocations: 470.7 kB / 0.9832 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6265, allocations: 29.7 kB / 0.9832 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.6267, allocations: 391 kB / 0.9836 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6269, allocations: 149.8 kB / 0.9838 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.6269, allocations: 53.69 kB / 0.9838 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6271, allocations: 362.8 kB / 0.9842 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.6275, allocations: 257.1 kB / 0.9844 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.6279, allocations: 453 kB / 0.9848 GB, free: 28 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.6289, allocations: 0.7481 MB / 0.9856 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6289, allocations: 4 kB / 0.9856 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001822/0.6307, allocations: 1.07 MB / 0.9866 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6308, allocations: 11.94 kB / 0.9866 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6308, allocations: 8 kB / 0.9866 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.6318, allocations: 331.2 kB / 0.9869 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.6321, allocations: 95.81 kB / 0.987 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/0.6386, allocations: 6.95 MB / 0.9938 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.6391, allocations: 28.02 kB / 0.9939 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.6391, allocations: 28 kB / 0.9939 GB, free: 6.094 MB / 0.7481 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.6395, allocations: 245.5 kB / 0.9941 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.6396, allocations: 59.34 kB / 0.9942 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.6413, allocations: 0.9117 MB / 0.9951 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6413, allocations: 4 kB / 0.9951 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6413, allocations: 4 kB / 0.9951 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6413, allocations: 3.984 kB / 0.9951 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.6438, allocations: 1.708 MB / 0.9967 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6439, allocations: 8 kB / 0.9967 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.644, allocations: 44.03 kB / 0.9968 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/0.645, allocations: 327.3 kB / 0.9971 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.645, allocations: 12 kB / 0.9971 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/0.651, allocations: 6.939 MB / 1.004 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.651, allocations: 4 kB / 1.004 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.6526, allocations: 1.018 MB / 1.005 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.6528, allocations: 176.4 kB / 1.005 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.6529, allocations: 8 kB / 1.005 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.6532, allocations: 23.97 kB / 1.005 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.6533, allocations: 47.83 kB / 1.005 GB, free: 9.836 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.6533, allocations: 8 kB / 1.005 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003027/0.6536, allocations: 318.9 kB / 1.005 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6536, allocations: 0 / 1.005 GB, free: 9.52 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007303/0.6543, allocations: 192 kB / 1.006 GB, free: 9.332 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001745/0.6561, allocations: 1.561 MB / 1.007 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.6578, allocations: 1.199 MB / 1.008 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6578, allocations: 128 / 1.008 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.6589, allocations: 0.8739 MB / 1.009 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.6599, allocations: 191.1 kB / 1.009 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/0.6676, allocations: 6.295 MB / 1.016 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.6683, allocations: 0.9959 MB / 1.016 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003/0.6686, allocations: 97.19 kB / 1.017 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.6688, allocations: 227.4 kB / 1.017 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.124e-06/0.6688, allocations: 0 / 1.017 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.6961, allocations: 14.56 MB / 1.031 GB, free: 15.14 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.6963, allocations: 240.6 kB / 1.031 GB, free: 14.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.706, allocations: 0 / 1.031 GB, free: 14.88 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches