Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.008593/0.008593, allocations: 100.6 kB / 15.73 MB, free: 5.977 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.002426/0.002426, allocations: 195.5 kB / 16.67 MB, free: 5.914 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.366/2.366, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 63.08 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2693, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03865/0.308, allocations: 37.96 MB / 1.125 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.3265, allocations: 10.99 MB / 1.135 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00504/0.3316, allocations: 155.2 kB / 1.135 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.3434, allocations: 4.367 MB / 1.14 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007075/0.3505, allocations: 2.219 MB / 1.142 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.356, allocations: 2.163 MB / 1.144 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.3667, allocations: 9.284 MB / 1.153 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01588/0.3826, allocations: 11.28 MB / 1.164 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007469/0.3901, allocations: 4.043 MB / 1.168 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009008/0.3992, allocations: 4.506 MB / 1.172 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00336/0.4026, allocations: 0.8203 MB / 1.173 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005408/0.408, allocations: 1.592 MB / 1.175 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004704/0.4128, allocations: 3.15 MB / 1.178 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006772/0.4196, allocations: 3.653 MB / 1.181 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.433, allocations: 12.31 MB / 1.193 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.433, allocations: 4 kB / 1.193 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.803e-06/0.433, allocations: 0 / 1.193 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000339/0.4334, allocations: 0 / 1.193 GB, free: 5.086 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01552/0.4489, allocations: 6.322 MB / 1.2 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.449, allocations: 12.03 kB / 1.2 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001974/0.451, allocations: 0.8216 MB / 1.2 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.4565, allocations: 1.063 MB / 1.201 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009033/0.4656, allocations: 3.61 MB / 1.205 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.4659, allocations: 423.8 kB / 1.205 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/0.4675, allocations: 0.5472 MB / 1.206 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.4869, allocations: 9.377 MB / 1.215 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.4871, allocations: 23.72 kB / 1.215 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007525/0.4878, allocations: 244 kB / 1.215 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005468/0.4884, allocations: 422.9 kB / 1.216 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.5002, allocations: 7.12 MB / 1.223 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5777/1.078, allocations: 41 MB / 1.263 GB, free: 138.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005224/1.083, allocations: 3.102 MB / 1.266 GB, free: 138.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/1.087, allocations: 2.157 MB / 1.268 GB, free: 138.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/1.087, allocations: 21.88 kB / 1.268 GB, free: 138.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.087, allocations: 68.41 kB / 1.268 GB, free: 138.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=209): time 4.218e-06/1.087, allocations: 1.219 kB / 1.268 GB, free: 138.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=212): time 0.02595/1.113, allocations: 10.55 MB / 1.278 GB, free: 135.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.113, allocations: 78.69 kB / 1.278 GB, free: 135.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/1.116, allocations: 2.007 MB / 1.28 GB, free: 134.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/1.116, allocations: 66.89 kB / 1.28 GB, free: 134.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/1.118, allocations: 2.405 MB / 1.283 GB, free: 132.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006592/1.118, allocations: 0.727 MB / 1.283 GB, free: 132.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007361/1.119, allocations: 480.3 kB / 1.284 GB, free: 132 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.119, allocations: 304.5 kB / 1.284 GB, free: 131.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.121, allocations: 1.369 MB / 1.286 GB, free: 131.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/1.123, allocations: 2.106 MB / 1.288 GB, free: 129.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/1.128, allocations: 3.767 MB / 1.291 GB, free: 127.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/1.128, allocations: 7.844 kB / 1.291 GB, free: 127.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007792/1.136, allocations: 5.07 MB / 1.296 GB, free: 125.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.136, allocations: 16 kB / 1.296 GB, free: 125.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/1.136, allocations: 22.78 kB / 1.296 GB, free: 125.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003346/1.139, allocations: 1.594 MB / 1.298 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.141, allocations: 455 kB / 1.298 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.159, allocations: 18.56 MB / 1.316 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/1.161, allocations: 148.5 kB / 1.316 GB, free: 113.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/1.161, allocations: 109.2 kB / 1.317 GB, free: 113.7 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002825/1.164, allocations: 1.943 MB / 1.318 GB, free: 112.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.165, allocations: 289 kB / 1.319 GB, free: 112.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/1.171, allocations: 4.451 MB / 1.323 GB, free: 109.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.171, allocations: 25.56 kB / 1.323 GB, free: 109.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.171, allocations: 19.02 kB / 1.323 GB, free: 109.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/1.171, allocations: 11.97 kB / 1.323 GB, free: 109.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/1.185, allocations: 9.67 MB / 1.333 GB, free: 103.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.185, allocations: 4 kB / 1.333 GB, free: 103.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009447/1.186, allocations: 232.2 kB / 1.333 GB, free: 103.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/1.189, allocations: 1.428 MB / 1.334 GB, free: 102.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/1.189, allocations: 47.72 kB / 1.334 GB, free: 102.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.206, allocations: 18.57 MB / 1.352 GB, free: 82.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.206, allocations: 4 kB / 1.352 GB, free: 82.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/1.212, allocations: 4.548 MB / 1.357 GB, free: 78.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.214, allocations: 0.6304 MB / 1.357 GB, free: 77.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/1.214, allocations: 39.98 kB / 1.358 GB, free: 77.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.215, allocations: 119.9 kB / 1.358 GB, free: 77.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.216, allocations: 177.6 kB / 1.358 GB, free: 77.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.216, allocations: 60 kB / 1.358 GB, free: 77.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001375/1.217, allocations: 1.315 MB / 1.359 GB, free: 75.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.217, allocations: 0 / 1.359 GB, free: 75.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003198/1.221, allocations: 1.145 MB / 1.36 GB, free: 74.82 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005825/1.226, allocations: 5.152 MB / 1.365 GB, free: 69.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006172/1.233, allocations: 4.724 MB / 1.37 GB, free: 64.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.233, allocations: 4 kB / 1.37 GB, free: 64.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00369/1.236, allocations: 2.911 MB / 1.373 GB, free: 61.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004316/1.241, allocations: 0.8859 MB / 1.374 GB, free: 60.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04143/1.282, allocations: 30.38 MB / 1.403 GB, free: 29.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.286, allocations: 3.683 MB / 1.407 GB, free: 25.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001741/1.288, allocations: 0.5557 MB / 1.407 GB, free: 25.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/1.29, allocations: 1.952 MB / 1.409 GB, free: 23.2 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.29, allocations: 0 / 1.409 GB, free: 23.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.426, allocations: 86.09 MB / 1.493 GB, free: 1.988 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.14, allocations: 11.5 kB / 1.493 GB, free: 1.98 MB / 1.076 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches