Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001935/0.001935, 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.001462/0.001462, allocations: 192.2 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 63.41 kB / 0.9087 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2391, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03749/0.2766, allocations: 35.13 MB / 1.098 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.2909, allocations: 9.937 MB / 1.108 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009877/0.2919, allocations: 151.2 kB / 1.108 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007697/0.2996, allocations: 3.799 MB / 1.112 GB, free: 13 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.3028, allocations: 2.025 MB / 1.114 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.3061, allocations: 1.969 MB / 1.116 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006895/0.313, allocations: 7.971 MB / 1.124 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009621/0.3227, allocations: 9.597 MB / 1.133 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/0.3264, allocations: 3.353 MB / 1.136 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.3302, allocations: 3.73 MB / 1.14 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008397/0.3311, allocations: 0.6797 MB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.3334, allocations: 1.447 MB / 1.142 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002193/0.3356, allocations: 2.62 MB / 1.145 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002816/0.3384, allocations: 3.101 MB / 1.148 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008352/0.3468, allocations: 10.31 MB / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3468, allocations: 0 / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3468, allocations: 4 kB / 1.158 GB, free: 13.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.354e-05/0.3469, allocations: 4 kB / 1.158 GB, free: 13.98 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008233/0.3551, allocations: 5.397 MB / 1.163 GB, free: 8.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3551, allocations: 12.03 kB / 1.163 GB, free: 8.5 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008341/0.356, allocations: 0.6945 MB / 1.164 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.3599, allocations: 0.9742 MB / 1.165 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/0.3642, allocations: 2.991 MB / 1.168 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.3644, allocations: 357.9 kB / 1.168 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000637/0.3651, allocations: 464.3 kB / 1.168 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3755, allocations: 7.911 MB / 1.176 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.723e-05/0.3756, allocations: 23.72 kB / 1.176 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004396/0.376, allocations: 215.9 kB / 1.176 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004634/0.3765, allocations: 369.1 kB / 1.177 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008289/0.3848, allocations: 5.937 MB / 1.182 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.415, allocations: 36.21 MB / 1.218 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.418, allocations: 2.139 MB / 1.22 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.4199, allocations: 1.481 MB / 1.221 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/0.4199, allocations: 17.31 kB / 1.221 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.42, allocations: 63.8 kB / 1.221 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 2.915e-06/0.42, allocations: 0 / 1.221 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01214/0.4322, allocations: 7.54 MB / 1.229 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4322, allocations: 68.72 kB / 1.229 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.4343, allocations: 1.86 MB / 1.231 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.4344, allocations: 57.7 kB / 1.231 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.4358, allocations: 2.123 MB / 1.233 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.4362, allocations: 0.5585 MB / 1.233 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005544/0.4368, allocations: 403.7 kB / 1.234 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4369, allocations: 301.1 kB / 1.234 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.4384, allocations: 1.066 MB / 1.235 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.4403, allocations: 1.756 MB / 1.237 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.444, allocations: 3.052 MB / 1.24 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/0.444, allocations: 4 kB / 1.24 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00587/0.4499, allocations: 3.929 MB / 1.244 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.4499, allocations: 12 kB / 1.244 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.4499, allocations: 24 kB / 1.244 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/0.4522, allocations: 0.9313 MB / 1.244 GB, free: 224 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3658/0.818, allocations: 420.6 kB / 1.245 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.8322, allocations: 22.77 MB / 1.267 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.834, allocations: 123.3 kB / 1.267 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.8341, allocations: 96.83 kB / 1.267 GB, free: 150.4 MB / 0.9981 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.001925/0.836, allocations: 1.646 MB / 1.269 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.8363, allocations: 256.2 kB / 1.269 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.8406, allocations: 3.263 MB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8406, allocations: 15.94 kB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.8406, allocations: 8.062 kB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.8406, allocations: 10.53 kB / 1.272 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.8507, allocations: 7.556 MB / 1.28 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.8507, allocations: 8.062 kB / 1.28 GB, free: 145.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.8515, allocations: 215 kB / 1.28 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.8535, allocations: 0.8972 MB / 1.281 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.8536, allocations: 29.97 kB / 1.281 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/0.8678, allocations: 22.75 MB / 1.303 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.8678, allocations: 9.406 kB / 1.303 GB, free: 126.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/0.8721, allocations: 3.382 MB / 1.306 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/0.8728, allocations: 0.529 MB / 1.307 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.8731, allocations: 32.19 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/0.874, allocations: 99.33 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/0.8744, allocations: 141.1 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.8745, allocations: 46.19 kB / 1.307 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001341/0.8758, allocations: 1.224 MB / 1.308 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8758, allocations: 0 / 1.308 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002309/0.8781, allocations: 0.9041 MB / 1.309 GB, free: 123.6 MB / 0.9981 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004138/0.8823, allocations: 3.984 MB / 1.313 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006195/0.8885, allocations: 5.212 MB / 1.318 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.8885, allocations: 0 / 1.318 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/0.8914, allocations: 2.986 MB / 1.321 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.8942, allocations: 0.8324 MB / 1.322 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/0.9191, allocations: 27.53 MB / 1.349 GB, free: 93.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.9212, allocations: 3.209 MB / 1.352 GB, free: 89.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001412/0.9226, allocations: 0.5231 MB / 1.353 GB, free: 89.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.9238, allocations: 1.655 MB / 1.354 GB, free: 87.62 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/0.9238, allocations: 0 / 1.354 GB, free: 87.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.87/11.8, allocations: 70.88 MB / 1.423 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/23.17, allocations: 2.844 kB / 1.423 GB, free: 17.59 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches