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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002012/0.002012, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002518/0.002518, allocations: 192.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.044/2.044, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.186/3.186, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 68.09 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3159, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03757/0.3535, allocations: 32.33 MB / 1.084 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.372, allocations: 10.17 MB / 1.094 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003272/0.3753, allocations: 131.3 kB / 1.094 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009884/0.3852, allocations: 3.5 MB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005702/0.3909, allocations: 1.696 MB / 1.099 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.3965, allocations: 1.945 MB / 1.101 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009313/0.4058, allocations: 7.345 MB / 1.108 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01906/0.4249, allocations: 11.6 MB / 1.12 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005846/0.4308, allocations: 3.228 MB / 1.123 GB, free: 468 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.4366, allocations: 3.645 MB / 1.126 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.4385, allocations: 0.6523 MB / 1.127 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.4429, allocations: 1.771 MB / 1.129 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004471/0.4474, allocations: 2.538 MB / 1.131 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008572/0.456, allocations: 2.898 MB / 1.134 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4704, allocations: 10.14 MB / 1.144 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4704, allocations: 0 / 1.144 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4704, allocations: 0 / 1.144 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003545/0.4708, allocations: 4 kB / 1.144 GB, free: 10.75 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.01215/0.483, allocations: 4.992 MB / 1.149 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.483, allocations: 12.62 kB / 1.149 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009265/0.484, allocations: 0.682 MB / 1.149 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.489, allocations: 0.959 MB / 1.15 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.4946, allocations: 2.859 MB / 1.153 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.4949, allocations: 349.7 kB / 1.153 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000664/0.4956, allocations: 464.2 kB / 1.154 GB, free: 308 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.5075, allocations: 7.671 MB / 1.161 GB, free: 8.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.5076, allocations: 23.78 kB / 1.161 GB, free: 8.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/0.5083, allocations: 204 kB / 1.162 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005126/0.5088, allocations: 312.9 kB / 1.162 GB, free: 7.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.5247, allocations: 5.71 MB / 1.167 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05885/0.5836, allocations: 35.1 MB / 1.202 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005061/0.5888, allocations: 2.148 MB / 1.204 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.5917, allocations: 1.268 MB / 1.205 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.5919, allocations: 17.3 kB / 1.205 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.72e-05/0.592, allocations: 43.88 kB / 1.205 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 6.843e-06/0.5921, allocations: 0 / 1.205 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.02121/0.6133, allocations: 7.088 MB / 1.212 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.6134, allocations: 68.72 kB / 1.212 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.616, allocations: 1.484 MB / 1.214 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.6161, allocations: 49.7 kB / 1.214 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.6176, allocations: 2.008 MB / 1.216 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/0.618, allocations: 489.1 kB / 1.216 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005764/0.6186, allocations: 351.1 kB / 1.216 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6187, allocations: 301.1 kB / 1.217 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.6202, allocations: 0.9096 MB / 1.218 GB, free: 11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.622, allocations: 1.593 MB / 1.219 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/0.6257, allocations: 2.737 MB / 1.222 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.6257, allocations: 8 kB / 1.222 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006443/0.6322, allocations: 3.526 MB / 1.225 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.6322, allocations: 17.41 kB / 1.225 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/0.6323, allocations: 23.94 kB / 1.225 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/0.6348, allocations: 0.9162 MB / 1.226 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.636, allocations: 343.4 kB / 1.226 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/0.6578, allocations: 23.12 MB / 1.249 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.6594, allocations: 104 kB / 1.249 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.6596, allocations: 88 kB / 1.249 GB, free: 8.16 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.002642/0.6623, allocations: 1.611 MB / 1.251 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.6628, allocations: 209.5 kB / 1.251 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.6682, allocations: 2.986 MB / 1.254 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.6683, allocations: 16 kB / 1.254 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.28e-05/0.6683, allocations: 12 kB / 1.254 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.6684, allocations: 11.91 kB / 1.254 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6059/1.274, allocations: 7.344 MB / 1.261 GB, free: 185.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.274, allocations: 2.531 kB / 1.261 GB, free: 185.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/1.275, allocations: 175.6 kB / 1.261 GB, free: 185.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/1.277, allocations: 0.8289 MB / 1.262 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/1.277, allocations: 31.31 kB / 1.262 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/1.293, allocations: 21.95 MB / 1.284 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.293, allocations: 5.156 kB / 1.284 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006344/1.299, allocations: 3.019 MB / 1.287 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.301, allocations: 458.4 kB / 1.287 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/1.301, allocations: 34.86 kB / 1.287 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/1.302, allocations: 71.19 kB / 1.287 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/1.302, allocations: 129.5 kB / 1.287 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.013e-05/1.302, allocations: 38.25 kB / 1.287 GB, free: 169.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001682/1.304, allocations: 0.9754 MB / 1.288 GB, free: 169 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.304, allocations: 0 / 1.288 GB, free: 169 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003497/1.307, allocations: 0.7859 MB / 1.289 GB, free: 169 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.005651/1.313, allocations: 3.616 MB / 1.293 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008182/1.321, allocations: 4.648 MB / 1.297 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.321, allocations: 1 kB / 1.297 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005226/1.326, allocations: 2.735 MB / 1.3 GB, free: 164 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004865/1.331, allocations: 0.7314 MB / 1.3 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03744/1.369, allocations: 25.76 MB / 1.326 GB, free: 148.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.372, allocations: 3.108 MB / 1.329 GB, free: 147.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001243/1.373, allocations: 449 kB / 1.329 GB, free: 147.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.374, allocations: 1.541 MB / 1.331 GB, free: 145.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.123e-06/1.374, allocations: 0 / 1.331 GB, free: 145.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.541/3.916, allocations: 60.43 MB / 1.39 GB, free: 89.37 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/3.916, allocations: 255.5 kB / 1.39 GB, free: 89.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/8.326, allocations: 0 / 1.39 GB, free: 89.11 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