Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001298/0.001298, 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.001261/0.001261, allocations: 193.7 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.246/1.246, 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.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 64.77 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03896/0.3393, allocations: 33.34 MB / 1.085 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.365, allocations: 14.83 MB / 1.1 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004015/0.369, allocations: 151.2 kB / 1.1 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009942/0.379, allocations: 3.658 MB / 1.104 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3891, allocations: 2.885 MB / 1.106 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.3961, allocations: 2.331 MB / 1.109 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.4103, allocations: 8.8 MB / 1.117 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.4268, allocations: 9.648 MB / 1.127 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008442/0.4352, allocations: 3.946 MB / 1.131 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008143/0.4434, allocations: 4.034 MB / 1.135 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002645/0.4461, allocations: 0.7226 MB / 1.135 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004879/0.451, allocations: 1.709 MB / 1.137 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004524/0.4556, allocations: 2.83 MB / 1.14 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006437/0.462, allocations: 3.388 MB / 1.143 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.4773, allocations: 11.11 MB / 1.154 GB, free: 500 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4774, allocations: 4 kB / 1.154 GB, free: 496 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4774, allocations: 4 kB / 1.154 GB, free: 492 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003211/0.4777, allocations: 0 / 1.154 GB, free: 492 kB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01488/0.4926, allocations: 5.975 MB / 1.16 GB, free: 10.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4926, allocations: 12.62 kB / 1.16 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4938, allocations: 0.727 MB / 1.16 GB, free: 9.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006571/0.5004, allocations: 1.138 MB / 1.162 GB, free: 8.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00852/0.509, allocations: 3.325 MB / 1.165 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004211/0.5094, allocations: 378.3 kB / 1.165 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.5118, allocations: 499.8 kB / 1.166 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/0.5318, allocations: 8.001 MB / 1.173 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003195/0.5322, allocations: 19.78 kB / 1.173 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00165/0.5338, allocations: 216 kB / 1.174 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.5351, allocations: 437.6 kB / 1.174 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.5479, allocations: 6.085 MB / 1.18 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04218/0.5901, allocations: 35.16 MB / 1.214 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.5934, allocations: 2.026 MB / 1.216 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/0.5962, allocations: 1.869 MB / 1.218 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.5964, allocations: 18 kB / 1.218 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.5964, allocations: 60.5 kB / 1.218 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.797e-06/0.5964, allocations: 0 / 1.218 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.603/1.199, allocations: 38.87 MB / 1.256 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.2, allocations: 80.83 kB / 1.256 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/1.203, allocations: 2.277 MB / 1.258 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.204, allocations: 71.83 kB / 1.259 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.205, allocations: 2.276 MB / 1.261 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006801/1.206, allocations: 0.9384 MB / 1.262 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008919/1.207, allocations: 0.5005 MB / 1.262 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.749e-05/1.207, allocations: 309.7 kB / 1.262 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/1.21, allocations: 1.976 MB / 1.264 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003685/1.213, allocations: 2.598 MB / 1.267 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/1.22, allocations: 4.933 MB / 1.272 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.22, allocations: 5 kB / 1.272 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01506/1.235, allocations: 7.762 MB / 1.279 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.235, allocations: 16.12 kB / 1.279 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/1.235, allocations: 16.81 kB / 1.279 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009175/1.244, allocations: 3.243 MB / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.246, allocations: 404.9 kB / 1.283 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0357/1.281, allocations: 33.88 MB / 1.316 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.284, allocations: 163.8 kB / 1.316 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/1.285, allocations: 108 kB / 1.316 GB, free: 140.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002862/1.288, allocations: 1.794 MB / 1.318 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007428/1.288, allocations: 341 kB / 1.318 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.3, allocations: 7.349 MB / 1.326 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.3, allocations: 28 kB / 1.326 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-05/1.3, allocations: 32 kB / 1.326 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.3, allocations: 23.59 kB / 1.326 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/1.32, allocations: 12.92 MB / 1.338 GB, free: 118 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.32, allocations: 8 kB / 1.338 GB, free: 118 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000822/1.321, allocations: 235.7 kB / 1.338 GB, free: 117.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00692/1.328, allocations: 2.873 MB / 1.341 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/1.328, allocations: 55.98 kB / 1.341 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03232/1.36, allocations: 32.7 MB / 1.373 GB, free: 81.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.36, allocations: 4 kB / 1.373 GB, free: 81.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/1.371, allocations: 6.882 MB / 1.38 GB, free: 74.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.372, allocations: 0.7821 MB / 1.381 GB, free: 73.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/1.373, allocations: 56 kB / 1.381 GB, free: 73.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.375, allocations: 175.7 kB / 1.381 GB, free: 73.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000683/1.376, allocations: 253.5 kB / 1.381 GB, free: 72.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.376, allocations: 72 kB / 1.381 GB, free: 72.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001924/1.378, allocations: 1.525 MB / 1.383 GB, free: 71.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.378, allocations: 0 / 1.383 GB, free: 71.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003526/1.381, allocations: 1.371 MB / 1.384 GB, free: 69.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009909/1.391, allocations: 7.508 MB / 1.391 GB, free: 62.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.402, allocations: 8.379 MB / 1.4 GB, free: 53.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.403, allocations: 4.062 kB / 1.4 GB, free: 53.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005906/1.408, allocations: 4.425 MB / 1.404 GB, free: 49.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/1.413, allocations: 1.105 MB / 1.405 GB, free: 48.26 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05598/1.469, allocations: 43.85 MB / 1.448 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005238/1.474, allocations: 3.65 MB / 1.451 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002325/1.476, allocations: 0.5645 MB / 1.452 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/1.479, allocations: 1.972 MB / 1.454 GB, free: 11.53 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.479, allocations: 0 / 1.454 GB, free: 11.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.66/3.139, allocations: 112.6 MB / 1.564 GB, free: 12.11 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/18.39, allocations: 10.38 kB / 1.564 GB, free: 12.11 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches