Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001044/0.001045, 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.001183/0.001183, allocations: 196.6 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.303/2.303, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.608, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0329/0.641, allocations: 32.6 MB / 0.9816 GB, free: 284 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.6585, allocations: 10.27 MB / 0.9916 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.6614, allocations: 147.2 kB / 0.9917 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00848/0.67, allocations: 3.721 MB / 0.9954 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.6746, allocations: 1.858 MB / 0.9972 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004726/0.6794, allocations: 2.131 MB / 0.9993 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007174/0.6866, allocations: 7.322 MB / 1.006 GB, free: 7.629 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009798/0.6964, allocations: 9.496 MB / 1.016 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.7005, allocations: 3.159 MB / 1.019 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003891/0.7044, allocations: 3.485 MB / 1.022 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.7055, allocations: 0.6484 MB / 1.023 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.7086, allocations: 1.763 MB / 1.025 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002244/0.7109, allocations: 2.55 MB / 1.027 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003325/0.7142, allocations: 2.894 MB / 1.03 GB, free: 15.47 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009623/0.7238, allocations: 10.05 MB / 1.04 GB, free: 5.398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7239, allocations: 4 kB / 1.04 GB, free: 5.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7239, allocations: 4 kB / 1.04 GB, free: 5.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001854/0.7241, allocations: 0 / 1.04 GB, free: 5.391 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009647/0.7337, allocations: 4.994 MB / 1.045 GB, free: 332 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7338, allocations: 8.031 kB / 1.045 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008439/0.7346, allocations: 0.6859 MB / 1.045 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.7394, allocations: 0.959 MB / 1.046 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.7437, allocations: 2.855 MB / 1.049 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.7439, allocations: 345.7 kB / 1.049 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000609/0.7445, allocations: 464.2 kB / 1.05 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.7552, allocations: 7.671 MB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.7553, allocations: 23.77 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004347/0.7558, allocations: 204 kB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.7561, allocations: 313 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008378/0.7645, allocations: 5.71 MB / 1.063 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/0.7967, allocations: 35.09 MB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.7993, allocations: 2.161 MB / 1.1 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.8007, allocations: 1.265 MB / 1.101 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.8008, allocations: 21.3 kB / 1.101 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.8008, allocations: 43.88 kB / 1.101 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=133): time 3.206e-06/0.8009, allocations: 0 / 1.101 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=136): time 0.01295/0.8138, allocations: 7.084 MB / 1.108 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.8139, allocations: 64.72 kB / 1.108 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.8158, allocations: 1.488 MB / 1.109 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.592e-05/0.8159, allocations: 49.7 kB / 1.109 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.817, allocations: 2.008 MB / 1.111 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.8174, allocations: 485.1 kB / 1.112 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/0.8179, allocations: 355.1 kB / 1.112 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.818, allocations: 301.1 kB / 1.113 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.8192, allocations: 0.9135 MB / 1.113 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.8208, allocations: 1.597 MB / 1.115 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.8239, allocations: 2.733 MB / 1.118 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.8239, allocations: 4 kB / 1.118 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00564/0.8296, allocations: 3.53 MB / 1.121 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.8296, allocations: 12.94 kB / 1.121 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.8296, allocations: 31.92 kB / 1.121 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.8321, allocations: 0.9075 MB / 1.122 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.8332, allocations: 347.4 kB / 1.122 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.8534, allocations: 23.11 MB / 1.145 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.8551, allocations: 104 kB / 1.145 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/0.8553, allocations: 84 kB / 1.145 GB, free: 2.824 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002425/0.8578, allocations: 1.61 MB / 1.147 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/0.8582, allocations: 205.5 kB / 1.147 GB, free: 1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.8632, allocations: 2.99 MB / 1.15 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.8632, allocations: 16 kB / 1.15 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/0.8632, allocations: 12 kB / 1.15 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.8633, allocations: 7.969 kB / 1.15 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.875, allocations: 7.348 MB / 1.157 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.8751, allocations: 8 kB / 1.157 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.8759, allocations: 171.7 kB / 1.157 GB, free: 6.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.8783, allocations: 0.8262 MB / 1.158 GB, free: 5.301 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.8784, allocations: 35.92 kB / 1.158 GB, free: 5.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.8968, allocations: 21.95 MB / 1.179 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.8968, allocations: 7.984 kB / 1.179 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/0.9018, allocations: 3.027 MB / 1.182 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/0.9027, allocations: 462.4 kB / 1.183 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.903, allocations: 31.94 kB / 1.183 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008565/0.9039, allocations: 71.91 kB / 1.183 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.9042, allocations: 128.7 kB / 1.183 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.9043, allocations: 36 kB / 1.183 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001325/0.9056, allocations: 0.9756 MB / 1.184 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9056, allocations: 0 / 1.184 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002661/0.9083, allocations: 0.7891 MB / 1.185 GB, free: 7.961 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00497/0.9133, allocations: 3.61 MB / 1.188 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006758/0.9201, allocations: 4.644 MB / 1.193 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.9201, allocations: 5 kB / 1.193 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003858/0.924, allocations: 2.732 MB / 1.196 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.9274, allocations: 0.7365 MB / 1.196 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/0.9622, allocations: 23.85 MB / 1.22 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/0.9662, allocations: 3.117 MB / 1.223 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001392/0.9676, allocations: 450 kB / 1.223 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/0.9692, allocations: 1.534 MB / 1.225 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.9692, allocations: 0 / 1.225 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4992/1.468, allocations: 60.27 MB / 1.283 GB, free: 272.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.7, allocations: 4.969 kB / 1.283 GB, free: 272.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches