Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_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.001894/0.001894, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.002477/0.002476, allocations: 188.8 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2/2, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.289/3.289, allocations: 461.9 MB / 0.7343 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 68.41 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3918, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01517/0.407, allocations: 13.98 MB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.4192, allocations: 9.318 MB / 1.075 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.4205, allocations: 55.62 kB / 1.075 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.4248, allocations: 1.559 MB / 1.077 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.4288, allocations: 1.411 MB / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.4307, allocations: 0.6824 MB / 1.079 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.4338, allocations: 2.52 MB / 1.081 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.436, allocations: 1.582 MB / 1.083 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.4377, allocations: 1.063 MB / 1.084 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.4394, allocations: 1.175 MB / 1.085 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003885/0.4398, allocations: 168 kB / 1.085 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.4414, allocations: 0.7916 MB / 1.086 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.4421, allocations: 0.6115 MB / 1.087 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.4433, allocations: 0.9445 MB / 1.087 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.4463, allocations: 2.772 MB / 1.09 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4463, allocations: 4 kB / 1.09 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4464, allocations: 0 / 1.09 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.094e-05/0.4464, allocations: 0 / 1.09 GB, free: 1.855 MB / 0.8419 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.004367/0.4508, allocations: 2.139 MB / 1.092 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4509, allocations: 8.625 kB / 1.092 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/0.4511, allocations: 194.4 kB / 1.092 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.4622, allocations: 2.089 MB / 1.094 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.4645, allocations: 1.205 MB / 1.096 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.4646, allocations: 90.73 kB / 1.096 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.4649, allocations: 127.8 kB / 1.096 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.4704, allocations: 2.678 MB / 1.098 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.4705, allocations: 7.938 kB / 1.098 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.4706, allocations: 55.98 kB / 1.099 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005781/0.4712, allocations: 178.1 kB / 1.099 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007152/0.4784, allocations: 2.795 MB / 1.101 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.4919, allocations: 10.5 MB / 1.112 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006315/0.4983, allocations: 2.525 MB / 1.114 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/0.5013, allocations: 1.289 MB / 1.115 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.618e-05/0.5014, allocations: 9 kB / 1.115 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/0.5015, allocations: 43.56 kB / 1.115 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.516e-06/0.5015, allocations: 0 / 1.115 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of matching and sorting (n=131): time 0.05057/0.5521, allocations: 13.35 MB / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.5522, allocations: 68.72 kB / 1.129 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.5548, allocations: 1.113 MB / 1.13 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.5551, allocations: 49.7 kB / 1.13 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008286/0.5559, allocations: 0.7155 MB / 1.13 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007971/0.5567, allocations: 449.4 kB / 1.131 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009894/0.5578, allocations: 267.4 kB / 1.131 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.558, allocations: 365.9 kB / 1.131 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005787/0.5638, allocations: 1.335 MB / 1.133 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006016/0.5698, allocations: 1.604 MB / 1.134 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.5816, allocations: 2.994 MB / 1.137 GB, free: 224 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.5816, allocations: 4 kB / 1.137 GB, free: 220 kB / 0.8887 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01918/0.6008, allocations: 4.446 MB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.6009, allocations: 8 kB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.6009, allocations: 4 kB / 1.142 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005093/0.606, allocations: 1.436 MB / 1.143 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.6081, allocations: 447.2 kB / 1.143 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02638/0.6345, allocations: 26.7 MB / 1.169 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.6375, allocations: 303.5 kB / 1.17 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/0.6378, allocations: 63.97 kB / 1.17 GB, free: 12.91 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.0009267/0.6387, allocations: 443 kB / 1.17 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.6391, allocations: 162 kB / 1.17 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.6506, allocations: 4.453 MB / 1.175 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.6506, allocations: 12 kB / 1.175 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/0.6507, allocations: 12 kB / 1.175 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6507, allocations: 7.984 kB / 1.175 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.6659, allocations: 6.778 MB / 1.181 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.6659, allocations: 0 / 1.181 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.6677, allocations: 383.7 kB / 1.182 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/0.6727, allocations: 1.31 MB / 1.183 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/0.6729, allocations: 39.97 kB / 1.183 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02423/0.6971, allocations: 25.52 MB / 1.208 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6971, allocations: 4 kB / 1.208 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/0.7075, allocations: 4.2 MB / 1.212 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.7085, allocations: 462.9 kB / 1.213 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.709, allocations: 24 kB / 1.213 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.7112, allocations: 307.5 kB / 1.213 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/0.7117, allocations: 132.6 kB / 1.213 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.7118, allocations: 47.97 kB / 1.213 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001233/0.7131, allocations: 0.7491 MB / 1.214 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7131, allocations: 4 kB / 1.214 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002518/0.7156, allocations: 0.5703 MB / 1.214 GB, free: 13.11 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.01075/0.7264, allocations: 4.793 MB / 1.219 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0112/0.7376, allocations: 5.513 MB / 1.224 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7376, allocations: 0 / 1.224 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.007719/0.7453, allocations: 3.491 MB / 1.228 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.7481, allocations: 0.5496 MB / 1.228 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05101/0.7991, allocations: 20.92 MB / 1.249 GB, free: 8.719 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.8016, allocations: 1.473 MB / 1.25 GB, free: 7.215 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003531/0.8052, allocations: 425.6 kB / 1.251 GB, free: 6.793 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/0.8068, allocations: 0.632 MB / 1.251 GB, free: 6.16 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/0.8068, allocations: 0 / 1.251 GB, free: 6.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.785/6.592, allocations: 51.44 MB / 1.301 GB, free: 183.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/6.592, allocations: 249.5 kB / 1.302 GB, free: 183 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.053/11.65, allocations: 0.5469 kB / 1.302 GB, free: 183 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches