Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.01023/0.01023, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.002909/0.00291, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.409/2.409, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3307, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02091/0.3517, allocations: 14.79 MB / 1.102 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.3679, allocations: 10.35 MB / 1.112 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.3697, allocations: 55.62 kB / 1.112 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.3745, allocations: 1.694 MB / 1.114 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005874/0.3804, allocations: 1.814 MB / 1.115 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3828, allocations: 0.7637 MB / 1.116 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.3873, allocations: 2.738 MB / 1.119 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.3897, allocations: 1.419 MB / 1.12 GB, free: 248 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.3923, allocations: 1.531 MB / 1.122 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.3946, allocations: 1.171 MB / 1.123 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.3951, allocations: 160 kB / 1.123 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.3972, allocations: 0.7838 MB / 1.124 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009044/0.3982, allocations: 0.6076 MB / 1.124 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.4, allocations: 0.9523 MB / 1.125 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.4042, allocations: 2.765 MB / 1.128 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4042, allocations: 0 / 1.128 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4042, allocations: 0 / 1.128 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.839e-05/0.4043, allocations: 0 / 1.128 GB, free: 8.25 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005341/0.4097, allocations: 2.182 MB / 1.13 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4097, allocations: 8.031 kB / 1.13 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003937/0.4101, allocations: 198.3 kB / 1.13 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.4222, allocations: 2.105 MB / 1.132 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.4256, allocations: 1.307 MB / 1.134 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.4258, allocations: 86.67 kB / 1.134 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005136/0.4263, allocations: 115.9 kB / 1.134 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/0.4331, allocations: 2.674 MB / 1.137 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/0.4331, allocations: 11.84 kB / 1.137 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.4334, allocations: 51.98 kB / 1.137 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006762/0.4341, allocations: 194.1 kB / 1.137 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008254/0.4423, allocations: 2.791 MB / 1.14 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/0.4589, allocations: 10.46 MB / 1.15 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/0.4659, allocations: 2.344 MB / 1.152 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00336/0.4693, allocations: 1.28 MB / 1.153 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4695, allocations: 12.94 kB / 1.153 GB, free: 13.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.4695, allocations: 47.56 kB / 1.153 GB, free: 13.48 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 3.487e-06/0.4695, allocations: 0 / 1.153 GB, free: 13.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.06138/0.5309, allocations: 16.49 MB / 1.169 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.531, allocations: 64.72 kB / 1.169 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.5328, allocations: 1.18 MB / 1.171 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/0.533, allocations: 49.7 kB / 1.171 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.5336, allocations: 0.7437 MB / 1.171 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005513/0.5341, allocations: 0.512 MB / 1.172 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006553/0.5348, allocations: 287.5 kB / 1.172 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5349, allocations: 313 kB / 1.172 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/0.5386, allocations: 1.503 MB / 1.174 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.5424, allocations: 1.784 MB / 1.176 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007393/0.5498, allocations: 3.369 MB / 1.179 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.5498, allocations: 0 / 1.179 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01436/0.5642, allocations: 5.28 MB / 1.184 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.5643, allocations: 8 kB / 1.184 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.5643, allocations: 8 kB / 1.184 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/0.5713, allocations: 1.876 MB / 1.186 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.5735, allocations: 415.2 kB / 1.186 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03073/0.6042, allocations: 24.14 MB / 1.21 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.6072, allocations: 303.6 kB / 1.21 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/0.6076, allocations: 75.83 kB / 1.21 GB, free: 1.543 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001156/0.6087, allocations: 470 kB / 1.211 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/0.6092, allocations: 173.9 kB / 1.211 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.6235, allocations: 5.32 MB / 1.216 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.6235, allocations: 12 kB / 1.216 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/0.6236, allocations: 20 kB / 1.216 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/0.6236, allocations: 7.969 kB / 1.216 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/0.6413, allocations: 7.427 MB / 1.223 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.6413, allocations: 4 kB / 1.223 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.6432, allocations: 355.7 kB / 1.224 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006172/0.6494, allocations: 1.702 MB / 1.225 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/0.6496, allocations: 47.91 kB / 1.225 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/0.6777, allocations: 23.31 MB / 1.248 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.6777, allocations: 4.188 kB / 1.248 GB, free: 9.395 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.6906, allocations: 4.891 MB / 1.253 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.692, allocations: 498.7 kB / 1.253 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/0.6925, allocations: 31.98 kB / 1.254 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/0.6949, allocations: 316 kB / 1.254 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/0.6955, allocations: 153 kB / 1.254 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.6957, allocations: 59.91 kB / 1.254 GB, free: 3.359 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001222/0.6969, allocations: 0.7899 MB / 1.255 GB, free: 2.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6969, allocations: 0 / 1.255 GB, free: 2.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002264/0.6992, allocations: 0.6601 MB / 1.255 GB, free: 1.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.5528/1.252, allocations: 5.465 MB / 1.261 GB, free: 156.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.264, allocations: 5.147 MB / 1.266 GB, free: 155.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.264, allocations: 1.156 kB / 1.266 GB, free: 155.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007593/1.271, allocations: 3.349 MB / 1.269 GB, free: 154.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/1.274, allocations: 0.5479 MB / 1.27 GB, free: 154.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04578/1.32, allocations: 21.87 MB / 1.291 GB, free: 145.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.321, allocations: 1.567 MB / 1.292 GB, free: 145.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001507/1.323, allocations: 381.9 kB / 1.293 GB, free: 145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/1.323, allocations: 0.6569 MB / 1.293 GB, free: 144.5 MB / 1.014 GB Notification: Performance of SimCode: time 9.71e-07/1.323, allocations: 1.094 kB / 1.293 GB, free: 144.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.937/3.261, allocations: 60.03 MB / 1.352 GB, free: 98.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.42/23.69, allocations: 11.09 kB / 1.352 GB, free: 98.33 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches