Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007267/0.007267, allocations: 100.8 kB / 15.73 MB, free: 6.02 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.001516/0.001516, allocations: 192.9 kB / 16.68 MB, free: 5.934 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8111, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03624/0.8474, allocations: 30.84 MB / 1.251 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02171/0.8691, allocations: 13.61 MB / 1.264 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.8727, allocations: 143.2 kB / 1.264 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008609/0.8813, allocations: 3.227 MB / 1.267 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008936/0.8902, allocations: 2.759 MB / 1.27 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.8963, allocations: 2.018 MB / 1.272 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01019/0.9065, allocations: 7.618 MB / 1.279 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008925/0.9154, allocations: 6.156 MB / 1.285 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/0.9209, allocations: 3.463 MB / 1.289 GB, free: 12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0053/0.9262, allocations: 3.387 MB / 1.292 GB, free: 8.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.9278, allocations: 0.5977 MB / 1.293 GB, free: 8.004 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.9315, allocations: 1.494 MB / 1.294 GB, free: 6.508 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003208/0.9347, allocations: 2.428 MB / 1.297 GB, free: 4.074 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005222/0.94, allocations: 2.878 MB / 1.299 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.9518, allocations: 9.484 MB / 1.309 GB, free: 7.668 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.9519, allocations: 3.984 kB / 1.309 GB, free: 7.664 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9519, allocations: 3.938 kB / 1.309 GB, free: 7.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003013/0.9522, allocations: 0 / 1.309 GB, free: 7.66 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01261/0.9648, allocations: 5.263 MB / 1.314 GB, free: 2.312 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9648, allocations: 8.031 kB / 1.314 GB, free: 2.305 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005725/0.9705, allocations: 1.02 MB / 1.315 GB, free: 1.281 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.9766, allocations: 3.099 MB / 1.318 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.9768, allocations: 312.8 kB / 1.318 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007332/0.9775, allocations: 426 kB / 1.318 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.9882, allocations: 6.784 MB / 1.325 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.9883, allocations: 27.77 kB / 1.325 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004097/0.9887, allocations: 184 kB / 1.325 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000817/0.9895, allocations: 376 kB / 1.326 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009148/0.9986, allocations: 5.11 MB / 1.331 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/1.035, allocations: 30.56 MB / 1.36 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/1.038, allocations: 1.324 MB / 1.362 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/1.04, allocations: 1.242 MB / 1.363 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/1.041, allocations: 13.31 kB / 1.363 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/1.041, allocations: 47.88 kB / 1.363 GB, free: 12.63 MB / 1.092 GB Notification: Performance of pre-optimization done (n=130): time 4.168e-06/1.041, allocations: 4 kB / 1.363 GB, free: 12.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=199): time 0.09572/1.136, allocations: 23.08 MB / 1.386 GB, free: 5.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.136, allocations: 73.41 kB / 1.386 GB, free: 5.344 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/1.14, allocations: 2.07 MB / 1.388 GB, free: 3.258 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003837/1.14, allocations: 61.7 kB / 1.388 GB, free: 3.191 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.142, allocations: 2.055 MB / 1.39 GB, free: 1.117 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007632/1.142, allocations: 0.7243 MB / 1.39 GB, free: 396 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008688/1.143, allocations: 408.4 kB / 1.391 GB, free: 15.98 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/1.143, allocations: 301.1 kB / 1.391 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/1.145, allocations: 1.437 MB / 1.393 GB, free: 14.24 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/1.148, allocations: 2.01 MB / 1.395 GB, free: 11.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/1.153, allocations: 3.692 MB / 1.398 GB, free: 8.047 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.153, allocations: 8 kB / 1.398 GB, free: 8.039 MB / 1.123 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0112/1.164, allocations: 5.596 MB / 1.404 GB, free: 2.375 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/1.164, allocations: 15.94 kB / 1.404 GB, free: 2.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/1.164, allocations: 20.83 kB / 1.404 GB, free: 2.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006867/1.171, allocations: 2.087 MB / 1.406 GB, free: 204 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.172, allocations: 371.4 kB / 1.406 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03822/1.211, allocations: 38.46 MB / 1.444 GB, free: 6.852 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.213, allocations: 127.9 kB / 1.444 GB, free: 6.727 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/1.213, allocations: 92 kB / 1.444 GB, free: 6.637 MB / 1.17 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.00253/1.216, allocations: 1.505 MB / 1.445 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/1.216, allocations: 298.2 kB / 1.446 GB, free: 4.828 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009933/1.226, allocations: 5.141 MB / 1.451 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.226, allocations: 20 kB / 1.451 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.463e-05/1.226, allocations: 28 kB / 1.451 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/1.226, allocations: 7.969 kB / 1.451 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.245, allocations: 9.602 MB / 1.46 GB, free: 5.742 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/1.245, allocations: 11.94 kB / 1.46 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/1.246, allocations: 219.6 kB / 1.46 GB, free: 5.516 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008928/1.255, allocations: 1.842 MB / 1.462 GB, free: 3.617 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/1.256, allocations: 39.94 kB / 1.462 GB, free: 3.578 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03716/1.293, allocations: 37.46 MB / 1.499 GB, free: 11.58 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.293, allocations: 12 kB / 1.499 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/1.301, allocations: 4.863 MB / 1.503 GB, free: 6.547 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.303, allocations: 0.6279 MB / 1.504 GB, free: 5.898 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/1.303, allocations: 47.98 kB / 1.504 GB, free: 5.852 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.304, allocations: 123.8 kB / 1.504 GB, free: 5.73 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005882/1.305, allocations: 197.5 kB / 1.504 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.305, allocations: 60 kB / 1.504 GB, free: 5.477 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00182/1.307, allocations: 1.378 MB / 1.506 GB, free: 4.09 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.307, allocations: 0 / 1.506 GB, free: 4.09 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00304/1.31, allocations: 1.051 MB / 1.507 GB, free: 3.039 MB / 1.232 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003253/1.31, allocations: 178.9 kB / 1.507 GB, free: 2.855 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009455/1.32, allocations: 6.006 MB / 1.513 GB, free: 12.62 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.32, allocations: 3.938 kB / 1.513 GB, free: 12.62 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00663/1.326, allocations: 4.285 MB / 1.517 GB, free: 8.098 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/1.33, allocations: 0.9807 MB / 1.518 GB, free: 7.145 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.344, allocations: 8.187 MB / 1.526 GB, free: 14.87 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003376/1.347, allocations: 3.128 MB / 1.529 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00164/1.349, allocations: 0.5199 MB / 1.53 GB, free: 11.18 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/1.349, allocations: 143.4 kB / 1.53 GB, free: 11.04 MB / 1.264 GB Notification: Performance of SimCode: time 7.81e-07/1.349, allocations: 0 / 1.53 GB, free: 11.04 MB / 1.264 GB Notification: Performance of Templates: time 0.7023/2.051, allocations: 58.89 MB / 1.587 GB, free: 300.2 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches