Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001831/0.001831, allocations: 108 kB / 15.61 MB, free: 152 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.001998/0.001998, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 67.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8495, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03672/0.8863, allocations: 30.76 MB / 0.9796 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02475/0.9111, allocations: 13.6 MB / 0.9929 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005511/0.9166, allocations: 143.2 kB / 0.993 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009769/0.9265, allocations: 3.194 MB / 0.9962 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.9389, allocations: 2.662 MB / 0.9988 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007573/0.9465, allocations: 2.013 MB / 1.001 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.9606, allocations: 7.623 MB / 1.008 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01482/0.9754, allocations: 8.284 MB / 1.016 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007996/0.9835, allocations: 3.389 MB / 1.02 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007452/0.991, allocations: 3.391 MB / 1.023 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.003385/0.9944, allocations: 0.5938 MB / 1.023 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/1, allocations: 1.494 MB / 1.025 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.005033/1.005, allocations: 2.362 MB / 1.027 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.006836/1.012, allocations: 2.89 MB / 1.03 GB, free: 15.17 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/1.027, allocations: 9.395 MB / 1.039 GB, free: 5.754 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/1.027, allocations: 0 / 1.039 GB, free: 5.754 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.875e-06/1.027, allocations: 7.938 kB / 1.039 GB, free: 5.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003726/1.028, allocations: 0 / 1.039 GB, free: 5.746 MB / 0.795 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.01962/1.047, allocations: 5.128 MB / 1.044 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/1.047, allocations: 12.03 kB / 1.044 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007094/1.054, allocations: 0.9941 MB / 1.045 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/1.062, allocations: 2.903 MB / 1.048 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/1.063, allocations: 312.8 kB / 1.048 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002071/1.065, allocations: 424 kB / 1.049 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/1.082, allocations: 6.791 MB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/1.082, allocations: 23.77 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005166/1.083, allocations: 188 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001012/1.084, allocations: 376 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/1.097, allocations: 5.106 MB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04468/1.141, allocations: 30.73 MB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/1.144, allocations: 1.387 MB / 1.092 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.145, allocations: 1.332 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.938e-05/1.145, allocations: 17.3 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/1.145, allocations: 51.88 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.456e-06/1.146, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08925/1.235, allocations: 23.07 MB / 1.116 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/1.235, allocations: 77.41 kB / 1.116 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/1.238, allocations: 2.062 MB / 1.118 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000425/1.239, allocations: 57.7 kB / 1.118 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.241, allocations: 2.006 MB / 1.12 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007247/1.241, allocations: 0.6816 MB / 1.121 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007311/1.242, allocations: 408.1 kB / 1.121 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.242, allocations: 317 kB / 1.122 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.244, allocations: 1.43 MB / 1.123 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.247, allocations: 2.01 MB / 1.125 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/1.251, allocations: 3.692 MB / 1.129 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.252, allocations: 11.94 kB / 1.129 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01105/1.263, allocations: 5.657 MB / 1.134 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.263, allocations: 12 kB / 1.134 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/1.263, allocations: 24.12 kB / 1.134 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/1.269, allocations: 2.095 MB / 1.136 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.271, allocations: 375.4 kB / 1.137 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04002/1.311, allocations: 38.46 MB / 1.174 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.314, allocations: 127.9 kB / 1.174 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/1.314, allocations: 92 kB / 1.174 GB, free: 4.742 MB / 0.9356 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.002813/1.317, allocations: 1.504 MB / 1.176 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/1.318, allocations: 284.6 kB / 1.176 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.328, allocations: 5.212 MB / 1.181 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.328, allocations: 20 kB / 1.181 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-05/1.328, allocations: 16 kB / 1.181 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.328, allocations: 11.95 kB / 1.181 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.346, allocations: 9.681 MB / 1.191 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.346, allocations: 11.98 kB / 1.191 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/1.347, allocations: 215.7 kB / 1.191 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/1.353, allocations: 1.858 MB / 1.193 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/1.353, allocations: 43.98 kB / 1.193 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04519/1.398, allocations: 37.46 MB / 1.229 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/1.398, allocations: 11.94 kB / 1.229 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.414, allocations: 4.909 MB / 1.234 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003521/1.418, allocations: 0.6186 MB / 1.235 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009418/1.419, allocations: 40 kB / 1.235 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/1.422, allocations: 131.8 kB / 1.235 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/1.423, allocations: 193.5 kB / 1.235 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.423, allocations: 56 kB / 1.235 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003706/1.427, allocations: 1.374 MB / 1.237 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.775e-06/1.427, allocations: 4 kB / 1.237 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007481/1.434, allocations: 1.051 MB / 1.238 GB, free: 0.9844 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 (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.0006484/1.435, allocations: 171.5 kB / 1.238 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02302/1.458, allocations: 7.21 MB / 1.245 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.453e-05/1.458, allocations: 8.062 kB / 1.245 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01361/1.472, allocations: 4.39 MB / 1.249 GB, free: 4.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008375/1.48, allocations: 0.9897 MB / 1.25 GB, free: 3.773 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5018/1.982, allocations: 8.147 MB / 1.258 GB, free: 270.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004011/1.986, allocations: 3.125 MB / 1.261 GB, free: 269.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002033/1.988, allocations: 0.5192 MB / 1.262 GB, free: 269.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.989, allocations: 149 kB / 1.262 GB, free: 269.6 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/1.989, allocations: 0 / 1.262 GB, free: 269.6 MB / 1.014 GB Notification: Performance of Templates: time 0.08772/2.076, allocations: 59.99 MB / 1.32 GB, free: 235.6 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches