Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001227/0.001227, allocations: 193.8 kB / 16.14 MB, free: 6.734 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.81 kB / 0.8985 GB, free: 36.83 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2553, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03109/0.2864, allocations: 32.32 MB / 1.084 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.3008, allocations: 10.26 MB / 1.094 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.303, allocations: 135.2 kB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007374/0.3105, allocations: 3.483 MB / 1.097 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.3145, allocations: 1.743 MB / 1.099 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004119/0.3186, allocations: 1.943 MB / 1.101 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008803/0.3275, allocations: 10.57 MB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.3399, allocations: 10.61 MB / 1.122 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.3438, allocations: 2.697 MB / 1.124 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/0.3479, allocations: 3.563 MB / 1.128 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006923/0.3487, allocations: 452 kB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.3517, allocations: 1.88 MB / 1.13 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.3537, allocations: 2.335 MB / 1.132 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.3563, allocations: 2.664 MB / 1.135 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/0.3654, allocations: 9.979 MB / 1.145 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3654, allocations: 4 kB / 1.145 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3654, allocations: 0 / 1.145 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002113/0.3657, allocations: 0 / 1.145 GB, free: 9.227 MB / 0.9044 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.008668/0.3743, allocations: 4.99 MB / 1.15 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3744, allocations: 15.97 kB / 1.15 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000904/0.3753, allocations: 0.6859 MB / 1.15 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.38, allocations: 0.9473 MB / 1.151 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.3845, allocations: 2.855 MB / 1.154 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3847, allocations: 357.7 kB / 1.154 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006108/0.3853, allocations: 464.2 kB / 1.155 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3963, allocations: 7.671 MB / 1.162 GB, free: 6.762 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.907e-05/0.3965, allocations: 27.72 kB / 1.162 GB, free: 6.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.3969, allocations: 200 kB / 1.162 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000284/0.3972, allocations: 309 kB / 1.163 GB, free: 6.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007966/0.4051, allocations: 5.71 MB / 1.168 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02747/0.4326, allocations: 35.1 MB / 1.203 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.4351, allocations: 2.16 MB / 1.205 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.4365, allocations: 1.261 MB / 1.206 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.4366, allocations: 25.23 kB / 1.206 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4366, allocations: 47.88 kB / 1.206 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 3.266e-06/0.4366, allocations: 0 / 1.206 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01177/0.4484, allocations: 7.085 MB / 1.213 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4484, allocations: 72.66 kB / 1.213 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.45, allocations: 1.48 MB / 1.214 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.4501, allocations: 49.7 kB / 1.214 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009839/0.4511, allocations: 2.008 MB / 1.216 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.4514, allocations: 489.2 kB / 1.217 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.4518, allocations: 351.1 kB / 1.217 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.4519, allocations: 305.1 kB / 1.217 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4531, allocations: 0.9096 MB / 1.218 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.4546, allocations: 1.589 MB / 1.22 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.4574, allocations: 2.737 MB / 1.223 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.4574, allocations: 8 kB / 1.223 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00526/0.4627, allocations: 3.526 MB / 1.226 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.4627, allocations: 16 kB / 1.226 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.4628, allocations: 23.94 kB / 1.226 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.4652, allocations: 0.9042 MB / 1.227 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4662, allocations: 351.4 kB / 1.227 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.4839, allocations: 21.2 MB / 1.248 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4857, allocations: 111.9 kB / 1.248 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.4858, allocations: 84 kB / 1.248 GB, free: 8.621 MB / 1.014 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.002561/0.4884, allocations: 1.609 MB / 1.25 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.4887, allocations: 209.6 kB / 1.25 GB, free: 6.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.4935, allocations: 2.986 MB / 1.253 GB, free: 3.758 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4935, allocations: 12 kB / 1.253 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.4935, allocations: 8 kB / 1.253 GB, free: 3.738 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4935, allocations: 7.984 kB / 1.253 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3874/0.8809, allocations: 7.343 MB / 1.26 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.881, allocations: 5.75 kB / 1.26 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.8816, allocations: 181.6 kB / 1.26 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.8836, allocations: 0.8266 MB / 1.261 GB, free: 185.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.8837, allocations: 25.22 kB / 1.261 GB, free: 185.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.8967, allocations: 20.3 MB / 1.281 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8967, allocations: 5.938 kB / 1.281 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.9014, allocations: 3.023 MB / 1.284 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/0.9022, allocations: 454.9 kB / 1.284 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.9024, allocations: 35.2 kB / 1.284 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007103/0.9031, allocations: 73.66 kB / 1.284 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/0.9035, allocations: 122.2 kB / 1.285 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/0.9036, allocations: 38.91 kB / 1.285 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001319/0.9049, allocations: 0.9786 MB / 1.286 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9049, allocations: 0 / 1.286 GB, free: 169.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002464/0.9074, allocations: 0.7848 MB / 1.286 GB, free: 169.4 MB / 1.014 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.005061/0.9125, allocations: 3.62 MB / 1.29 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004705/0.9172, allocations: 4.015 MB / 1.294 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.9172, allocations: 1.062 kB / 1.294 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.9201, allocations: 2.729 MB / 1.296 GB, free: 165.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.9228, allocations: 0.6696 MB / 1.297 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/0.9524, allocations: 25.76 MB / 1.322 GB, free: 149.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/0.9548, allocations: 3.104 MB / 1.325 GB, free: 148.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00125/0.9561, allocations: 456.1 kB / 1.326 GB, free: 148.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.9572, allocations: 1.539 MB / 1.327 GB, free: 146.9 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.9572, allocations: 0 / 1.327 GB, free: 146.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7944/1.752, allocations: 59.03 MB / 1.385 GB, free: 93.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/1.752, allocations: 248.1 kB / 1.385 GB, free: 92.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/4.461, allocations: 0 / 1.385 GB, free: 92.95 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches