Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001816/0.001816, 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.002003/0.002003, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.71/2.71, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 68.81 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01599/0.2667, allocations: 14.05 MB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.2794, allocations: 9.399 MB / 1.087 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.2801, allocations: 59.62 kB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.284, allocations: 1.665 MB / 1.089 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.2871, allocations: 1.549 MB / 1.09 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.2886, allocations: 0.7513 MB / 1.091 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.2911, allocations: 2.512 MB / 1.093 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.2928, allocations: 1.411 MB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.2939, allocations: 1.036 MB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.2953, allocations: 1.144 MB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.2955, allocations: 164 kB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.2968, allocations: 0.7877 MB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.2974, allocations: 0.6193 MB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.2982, allocations: 0.9367 MB / 1.099 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.3008, allocations: 2.734 MB / 1.102 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3008, allocations: 0 / 1.102 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3008, allocations: 3.984 kB / 1.102 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.51e-05/0.3008, allocations: 4 kB / 1.102 GB, free: 7.199 MB / 0.8575 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.003504/0.3043, allocations: 2.135 MB / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3044, allocations: 12.03 kB / 1.104 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.3046, allocations: 194.4 kB / 1.104 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.3159, allocations: 2.089 MB / 1.106 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.3183, allocations: 1.193 MB / 1.107 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.3184, allocations: 90.72 kB / 1.108 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.3187, allocations: 123.8 kB / 1.108 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.3243, allocations: 2.682 MB / 1.11 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.3243, allocations: 11.98 kB / 1.11 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.3245, allocations: 47.98 kB / 1.11 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000639/0.3252, allocations: 178.1 kB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00748/0.3327, allocations: 2.807 MB / 1.113 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.347, allocations: 10.5 MB / 1.124 GB, free: 276 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/0.3538, allocations: 2.529 MB / 1.126 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.357, allocations: 1.28 MB / 1.127 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.993e-05/0.357, allocations: 16.98 kB / 1.127 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3571, allocations: 47.5 kB / 1.127 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.755e-06/0.3571, allocations: 0 / 1.127 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.04537/0.4025, allocations: 13.34 MB / 1.14 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.4025, allocations: 64.72 kB / 1.14 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.404, allocations: 1.133 MB / 1.142 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.4041, allocations: 45.7 kB / 1.142 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.4047, allocations: 0.7117 MB / 1.142 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.4051, allocations: 453.4 kB / 1.143 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/0.4056, allocations: 263.4 kB / 1.143 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4058, allocations: 357.9 kB / 1.143 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/0.409, allocations: 1.339 MB / 1.145 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/0.4125, allocations: 1.608 MB / 1.146 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006769/0.4193, allocations: 2.987 MB / 1.149 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.4193, allocations: 4 kB / 1.149 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0112/0.4305, allocations: 4.443 MB / 1.153 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.4306, allocations: 11.98 kB / 1.153 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4306, allocations: 8 kB / 1.153 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/0.4357, allocations: 1.443 MB / 1.155 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.4378, allocations: 435.2 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02732/0.4651, allocations: 26.7 MB / 1.181 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.4675, allocations: 307.4 kB / 1.182 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.4677, allocations: 63.97 kB / 1.182 GB, free: 2.242 MB / 0.9356 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007447/0.4684, allocations: 433.5 kB / 1.182 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.4687, allocations: 162 kB / 1.182 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.48, allocations: 4.457 MB / 1.187 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.48, allocations: 12 kB / 1.187 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.48, allocations: 12 kB / 1.187 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.48, allocations: 11.97 kB / 1.187 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.4943, allocations: 6.77 MB / 1.193 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4943, allocations: 4 kB / 1.193 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.496, allocations: 383.3 kB / 1.194 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004415/0.5004, allocations: 1.318 MB / 1.195 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.5005, allocations: 43.97 kB / 1.195 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/0.5257, allocations: 25.51 MB / 1.22 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5257, allocations: 3.938 kB / 1.22 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.5363, allocations: 4.196 MB / 1.224 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/0.5371, allocations: 458.9 kB / 1.224 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.5374, allocations: 27.98 kB / 1.224 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.5393, allocations: 303.4 kB / 1.225 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.5397, allocations: 140.6 kB / 1.225 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.5398, allocations: 48.16 kB / 1.225 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009586/0.5408, allocations: 0.7526 MB / 1.226 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5408, allocations: 0 / 1.226 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001695/0.5425, allocations: 0.5703 MB / 1.226 GB, free: 2.453 MB / 0.9825 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01062/0.5531, allocations: 4.782 MB / 1.231 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.5645, allocations: 5.529 MB / 1.236 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5645, allocations: 0 / 1.236 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006581/0.5711, allocations: 3.488 MB / 1.24 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.5732, allocations: 0.5613 MB / 1.24 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4196/0.9928, allocations: 20.31 MB / 1.26 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.994, allocations: 1.472 MB / 1.261 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001621/0.9956, allocations: 426 kB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.9963, allocations: 0.6262 MB / 1.262 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.12e-07/0.9963, allocations: 3.75 kB / 1.263 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.844/3.84, allocations: 51.29 MB / 1.313 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/23.14, allocations: 10.12 kB / 1.313 GB, free: 137.7 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches