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.01237/0.01237, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001645/0.001645, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.262/2.262, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03819/1.118, allocations: 30.76 MB / 1.118 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02799/1.146, allocations: 13.59 MB / 1.131 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006491/1.153, allocations: 139.8 kB / 1.131 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/1.163, allocations: 3.2 MB / 1.135 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01393/1.177, allocations: 2.758 MB / 1.137 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008828/1.186, allocations: 2.014 MB / 1.139 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01654/1.203, allocations: 7.642 MB / 1.147 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01878/1.221, allocations: 8.236 MB / 1.155 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/1.233, allocations: 3.472 MB / 1.158 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/1.243, allocations: 3.372 MB / 1.161 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004317/1.248, allocations: 0.5953 MB / 1.162 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00864/1.256, allocations: 1.501 MB / 1.163 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007454/1.264, allocations: 2.365 MB / 1.166 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01124/1.275, allocations: 2.885 MB / 1.169 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01893/1.294, allocations: 9.466 MB / 1.178 GB, free: 14.21 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/1.294, allocations: 0 / 1.178 GB, free: 14.21 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.527e-06/1.294, allocations: 1.375 kB / 1.178 GB, free: 14.21 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004358/1.295, allocations: 0 / 1.178 GB, free: 14.21 MB / 0.92 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.02127/1.316, allocations: 5.133 MB / 1.183 GB, free: 10.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.316, allocations: 9.375 kB / 1.183 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008525/1.325, allocations: 0.9975 MB / 1.184 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/1.336, allocations: 3.071 MB / 1.187 GB, free: 8.234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005525/1.336, allocations: 319.4 kB / 1.187 GB, free: 8.086 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003283/1.34, allocations: 425.6 kB / 1.187 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/1.361, allocations: 6.8 MB / 1.194 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.361, allocations: 23.77 kB / 1.194 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006511/1.361, allocations: 184 kB / 1.194 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009436/1.362, allocations: 368 kB / 1.195 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/1.374, allocations: 5.114 MB / 1.2 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04647/1.421, allocations: 30.51 MB / 1.229 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/1.423, allocations: 1.399 MB / 1.231 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/1.425, allocations: 1.335 MB / 1.232 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/1.425, allocations: 17.3 kB / 1.232 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/1.425, allocations: 51.88 kB / 1.232 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.367e-06/1.425, allocations: 0 / 1.232 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09627/1.521, allocations: 23.08 MB / 1.255 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.521, allocations: 73.39 kB / 1.255 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/1.525, allocations: 2.055 MB / 1.257 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/1.525, allocations: 65.64 kB / 1.257 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001972/1.527, allocations: 2.018 MB / 1.259 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/1.528, allocations: 0.6739 MB / 1.259 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000949/1.529, allocations: 408.1 kB / 1.26 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.529, allocations: 309.1 kB / 1.26 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/1.531, allocations: 1.437 MB / 1.262 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/1.534, allocations: 2.01 MB / 1.264 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/1.54, allocations: 3.696 MB / 1.267 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.54, allocations: 4 kB / 1.267 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01192/1.552, allocations: 5.669 MB / 1.273 GB, free: 12.74 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/1.552, allocations: 16 kB / 1.273 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/1.552, allocations: 16 kB / 1.273 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007198/1.559, allocations: 2.072 MB / 1.275 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.561, allocations: 383.3 kB / 1.275 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04603/1.607, allocations: 38.43 MB / 1.313 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/1.61, allocations: 123.9 kB / 1.313 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/1.61, allocations: 92 kB / 1.313 GB, free: 1.023 MB / 1.045 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.003004/1.613, allocations: 1.504 MB / 1.314 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008173/1.614, allocations: 280.6 kB / 1.315 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.625, allocations: 5.215 MB / 1.32 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/1.625, allocations: 20 kB / 1.32 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-05/1.625, allocations: 16 kB / 1.32 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/1.625, allocations: 11.95 kB / 1.32 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/1.644, allocations: 9.677 MB / 1.329 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/1.644, allocations: 12.2 kB / 1.329 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/1.645, allocations: 215.6 kB / 1.329 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005972/1.651, allocations: 1.846 MB / 1.331 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/1.651, allocations: 36 kB / 1.331 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03698/1.688, allocations: 37.44 MB / 1.368 GB, free: 5.883 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.688, allocations: 11.94 kB / 1.368 GB, free: 5.871 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009293/1.698, allocations: 4.917 MB / 1.373 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.699, allocations: 0.6109 MB / 1.373 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005334/1.7, allocations: 44 kB / 1.373 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.701, allocations: 127.8 kB / 1.373 GB, free: 15.99 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006287/1.702, allocations: 189.7 kB / 1.374 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.702, allocations: 63.98 kB / 1.374 GB, free: 15.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001958/1.704, allocations: 1.378 MB / 1.375 GB, free: 14.36 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.4e-07/1.704, allocations: 8 kB / 1.375 GB, free: 14.36 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003675/1.708, allocations: 1.043 MB / 1.376 GB, free: 13.31 MB / 1.123 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.0003272/1.708, allocations: 168.6 kB / 1.376 GB, free: 13.14 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.718, allocations: 6.292 MB / 1.382 GB, free: 6.613 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.718, allocations: 4.062 kB / 1.382 GB, free: 6.609 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006955/1.725, allocations: 4.406 MB / 1.387 GB, free: 1.977 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005025/1.73, allocations: 0.9858 MB / 1.388 GB, free: 1.02 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/1.745, allocations: 8.052 MB / 1.395 GB, free: 8.887 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003894/1.749, allocations: 3.125 MB / 1.398 GB, free: 5.727 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001869/1.751, allocations: 0.516 MB / 1.399 GB, free: 5.207 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/1.752, allocations: 151.4 kB / 1.399 GB, free: 5.059 MB / 1.139 GB Notification: Performance of SimCode: time 1.042e-06/1.752, allocations: 0 / 1.399 GB, free: 5.059 MB / 1.139 GB Notification: Performance of Templates: time 0.09847/1.85, allocations: 58.5 MB / 1.456 GB, free: 11.41 MB / 1.201 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