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.00116/0.00116, allocations: 108 kB / 15.6 MB, free: 132 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.001322/0.001322, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 64.69 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03201/0.2771, allocations: 32.6 MB / 1.085 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01431/0.2915, allocations: 10.27 MB / 1.095 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.2936, allocations: 151.2 kB / 1.095 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007857/0.3015, allocations: 3.72 MB / 1.099 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.3057, allocations: 1.85 MB / 1.1 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.3101, allocations: 2.141 MB / 1.102 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006696/0.3168, allocations: 7.322 MB / 1.11 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009828/0.3266, allocations: 9.479 MB / 1.119 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.3304, allocations: 3.163 MB / 1.122 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.3348, allocations: 3.485 MB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009068/0.3357, allocations: 0.6445 MB / 1.126 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.3387, allocations: 1.767 MB / 1.128 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.3406, allocations: 2.546 MB / 1.13 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.3431, allocations: 2.898 MB / 1.133 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007424/0.3505, allocations: 10.05 MB / 1.143 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3505, allocations: 0 / 1.143 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3505, allocations: 3.938 kB / 1.143 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001002/0.3506, allocations: 4 kB / 1.143 GB, free: 11.86 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.007169/0.3578, allocations: 4.99 MB / 1.148 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3579, allocations: 12.62 kB / 1.148 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007535/0.3586, allocations: 0.6781 MB / 1.148 GB, free: 6.098 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.363, allocations: 0.959 MB / 1.149 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.3668, allocations: 2.859 MB / 1.152 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.367, allocations: 345.7 kB / 1.152 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005723/0.3676, allocations: 468.2 kB / 1.153 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00916/0.3768, allocations: 7.667 MB / 1.16 GB, free: 9.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-05/0.3769, allocations: 27.72 kB / 1.16 GB, free: 9.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/0.3773, allocations: 204 kB / 1.161 GB, free: 9.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/0.3775, allocations: 309 kB / 1.161 GB, free: 8.871 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007296/0.3848, allocations: 5.71 MB / 1.166 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.4106, allocations: 35.1 MB / 1.201 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.4129, allocations: 2.148 MB / 1.203 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.4142, allocations: 1.268 MB / 1.204 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-05/0.4143, allocations: 17.3 kB / 1.204 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4143, allocations: 43.88 kB / 1.204 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 2.825e-06/0.4143, allocations: 0 / 1.204 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01161/0.426, allocations: 7.088 MB / 1.211 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.426, allocations: 64.72 kB / 1.211 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.4276, allocations: 1.484 MB / 1.213 GB, free: 272 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.4277, allocations: 45.7 kB / 1.213 GB, free: 220 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.4288, allocations: 2.015 MB / 1.215 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.4291, allocations: 489 kB / 1.215 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.4295, allocations: 351.1 kB / 1.215 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.4296, allocations: 301.1 kB / 1.216 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4308, allocations: 0.9174 MB / 1.217 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4323, allocations: 1.593 MB / 1.218 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.4352, allocations: 2.733 MB / 1.221 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.4352, allocations: 8 kB / 1.221 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005503/0.4407, allocations: 3.53 MB / 1.224 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4408, allocations: 16.94 kB / 1.224 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.4408, allocations: 23.94 kB / 1.224 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.4431, allocations: 0.9045 MB / 1.225 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.4442, allocations: 355.3 kB / 1.226 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/0.4627, allocations: 23.11 MB / 1.248 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4639, allocations: 95.92 kB / 1.248 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.4641, allocations: 91.98 kB / 1.248 GB, free: 9.289 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.002215/0.4663, allocations: 1.607 MB / 1.25 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.4666, allocations: 217.4 kB / 1.25 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/0.4713, allocations: 2.982 MB / 1.253 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4713, allocations: 16 kB / 1.253 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.115e-05/0.4713, allocations: 8 kB / 1.253 GB, free: 4.398 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.4714, allocations: 11.97 kB / 1.253 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4239/0.8953, allocations: 7.34 MB / 1.26 GB, free: 185.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.8953, allocations: 4.406 kB / 1.26 GB, free: 185.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/0.8961, allocations: 176 kB / 1.26 GB, free: 185.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.8981, allocations: 0.8262 MB / 1.261 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8983, allocations: 35.06 kB / 1.261 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.9134, allocations: 21.95 MB / 1.283 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.9135, allocations: 6.266 kB / 1.283 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/0.9186, allocations: 3.019 MB / 1.286 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.9197, allocations: 461.5 kB / 1.286 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.9199, allocations: 32.89 kB / 1.286 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.9207, allocations: 69.44 kB / 1.286 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/0.9212, allocations: 128.5 kB / 1.286 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/0.9213, allocations: 44.69 kB / 1.286 GB, free: 168.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001463/0.9228, allocations: 0.9747 MB / 1.287 GB, free: 168.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9228, allocations: 0 / 1.287 GB, free: 168.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002981/0.9258, allocations: 0.7858 MB / 1.288 GB, free: 168.8 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.005752/0.9315, allocations: 3.616 MB / 1.292 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006481/0.938, allocations: 4.649 MB / 1.296 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9381, allocations: 256 / 1.296 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/0.9417, allocations: 2.731 MB / 1.299 GB, free: 164.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.945, allocations: 0.7375 MB / 1.299 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/0.9809, allocations: 23.85 MB / 1.323 GB, free: 150.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/0.9837, allocations: 3.106 MB / 1.326 GB, free: 149.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001481/0.9852, allocations: 462.9 kB / 1.326 GB, free: 149.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/0.9866, allocations: 1.535 MB / 1.328 GB, free: 147.8 MB / 1.014 GB Notification: Performance of SimCode: time 2.304e-06/0.9866, allocations: 4 kB / 1.328 GB, free: 147.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.915/2.901, allocations: 60.27 MB / 1.387 GB, free: 92.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/16.48, allocations: 14.81 kB / 1.387 GB, free: 92.31 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