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.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.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.0007633/0.0007633, allocations: 97.64 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.00464/0.00464, allocations: 170 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.196/2.196, allocations: 390.9 MB / 0.6664 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002966, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5604/0.5607, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01265/0.5734, allocations: 14.13 MB / 0.969 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.5882, allocations: 10.23 MB / 0.979 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.5895, allocations: 50.41 kB / 0.979 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.5903, allocations: 291.4 kB / 0.9793 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.5945, allocations: 1.604 MB / 0.9809 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.5961, allocations: 0.6847 MB / 0.9815 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003759/0.5999, allocations: 3.403 MB / 0.9849 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003221/0.6031, allocations: 1.982 MB / 0.9868 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.6051, allocations: 1.328 MB / 0.9881 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.6065, allocations: 1.078 MB / 0.9891 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.6066, allocations: 76 kB / 0.9892 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.6081, allocations: 0.8538 MB / 0.9901 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004478/0.6086, allocations: 0.5099 MB / 0.9906 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008042/0.6094, allocations: 0.8602 MB / 0.9914 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.6119, allocations: 2.678 MB / 0.994 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.612, allocations: 0 / 0.994 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.954e-06/0.612, allocations: 0 / 0.994 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.612, allocations: 0 / 0.994 GB, free: 7.453 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.003222/0.6152, allocations: 1.839 MB / 0.9958 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6153, allocations: 8.031 kB / 0.9958 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002845/0.6156, allocations: 198.3 kB / 0.996 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.6274, allocations: 2.167 MB / 0.9981 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.6297, allocations: 1.213 MB / 0.9993 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.6297, allocations: 94.62 kB / 0.9994 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.63, allocations: 115.9 kB / 0.9995 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/0.6355, allocations: 2.69 MB / 1.002 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/0.6356, allocations: 11.84 kB / 1.002 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.6357, allocations: 55.98 kB / 1.002 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.6364, allocations: 190.1 kB / 1.002 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007464/0.6439, allocations: 2.842 MB / 1.005 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.6576, allocations: 10.57 MB / 1.015 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006751/0.6643, allocations: 2.383 MB / 1.018 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/0.6675, allocations: 1.299 MB / 1.019 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.831e-05/0.6676, allocations: 12.98 kB / 1.019 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.6677, allocations: 43.5 kB / 1.019 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=89): time 4.108e-06/0.6677, allocations: 8 kB / 1.019 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=153): time 0.05946/0.7272, allocations: 16.52 MB / 1.035 GB, free: 12.13 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.7272, allocations: 68.66 kB / 1.035 GB, free: 12.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.7288, allocations: 1.18 MB / 1.036 GB, free: 10.86 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/0.7289, allocations: 49.7 kB / 1.037 GB, free: 10.81 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/0.7294, allocations: 0.7437 MB / 1.037 GB, free: 10.06 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.7299, allocations: 0.5197 MB / 1.038 GB, free: 9.531 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.7301, allocations: 121.6 kB / 1.038 GB, free: 9.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.7302, allocations: 305.1 kB / 1.038 GB, free: 9.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/0.7339, allocations: 1.526 MB / 1.04 GB, free: 7.578 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/0.7376, allocations: 1.807 MB / 1.041 GB, free: 5.676 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007453/0.7451, allocations: 3.405 MB / 1.045 GB, free: 2.172 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.7451, allocations: 8 kB / 1.045 GB, free: 2.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01345/0.7586, allocations: 5.315 MB / 1.05 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.7586, allocations: 9.562 kB / 1.05 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.7586, allocations: 8.875 kB / 1.05 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006776/0.7654, allocations: 1.888 MB / 1.052 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.7674, allocations: 419.3 kB / 1.052 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02679/0.7942, allocations: 22.2 MB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.7968, allocations: 323.5 kB / 1.074 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.797, allocations: 67.95 kB / 1.074 GB, free: 2.812 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.0009007/0.7979, allocations: 465.5 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.7982, allocations: 169.9 kB / 1.075 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.8123, allocations: 5.37 MB / 1.08 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.8124, allocations: 16 kB / 1.08 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/0.8124, allocations: 16 kB / 1.08 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.8124, allocations: 7.969 kB / 1.08 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.8287, allocations: 7.48 MB / 1.087 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.8288, allocations: 4 kB / 1.087 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.8305, allocations: 371.7 kB / 1.088 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005935/0.8364, allocations: 1.7 MB / 1.089 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.8366, allocations: 43.91 kB / 1.09 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.025/0.8616, allocations: 21.37 MB / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.8616, allocations: 4 kB / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.8745, allocations: 4.936 MB / 1.115 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.8756, allocations: 486.8 kB / 1.116 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/0.8761, allocations: 35.98 kB / 1.116 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/0.8786, allocations: 327.5 kB / 1.116 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/0.8792, allocations: 149 kB / 1.116 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8794, allocations: 55.97 kB / 1.116 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001221/0.8806, allocations: 0.7904 MB / 1.117 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8806, allocations: 3.938 kB / 1.117 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002242/0.8829, allocations: 0.6602 MB / 1.118 GB, free: 5.027 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.01265/0.8955, allocations: 5.517 MB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01097/0.9065, allocations: 5.171 MB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.9065, allocations: 0 / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006846/0.9134, allocations: 3.359 MB / 1.131 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.9164, allocations: 0.5254 MB / 1.132 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04732/0.9637, allocations: 23.77 MB / 1.155 GB, free: 13.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.9651, allocations: 1.572 MB / 1.157 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001506/0.9666, allocations: 382.4 kB / 1.157 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008604/0.9675, allocations: 0.6515 MB / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of SimCode: time 1.072e-06/0.9675, allocations: 0 / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.072, allocations: 55.58 MB / 1.212 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/1.072, allocations: 239.8 kB / 1.212 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/4.584, allocations: 0 / 1.212 GB, free: 3.738 MB / 0.9669 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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