Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.8 kB / 16.42 MB, free: 6.512 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.001359/0.001359, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.407/1.407, allocations: 222.9 MB / 241 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.255/2.255, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9276/0.9292, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0412/0.9704, allocations: 35.12 MB / 1.123 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.99, allocations: 9.931 MB / 1.133 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004945/0.995, allocations: 147.8 kB / 1.133 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/1.007, allocations: 3.824 MB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009016/1.016, allocations: 2.147 MB / 1.139 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007382/1.023, allocations: 1.96 MB / 1.141 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.038, allocations: 7.98 MB / 1.148 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01865/1.057, allocations: 9.529 MB / 1.158 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009262/1.066, allocations: 3.415 MB / 1.161 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009454/1.075, allocations: 3.738 MB / 1.165 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003431/1.079, allocations: 0.679 MB / 1.165 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006263/1.085, allocations: 1.441 MB / 1.167 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006528/1.092, allocations: 2.625 MB / 1.169 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01007/1.102, allocations: 3.104 MB / 1.172 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01924/1.121, allocations: 10.38 MB / 1.182 GB, free: 11.8 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.121, allocations: 5.094 kB / 1.182 GB, free: 11.8 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/1.121, allocations: 0 / 1.182 GB, free: 11.8 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004513/1.122, allocations: 4 kB / 1.182 GB, free: 11.79 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02214/1.144, allocations: 5.404 MB / 1.188 GB, free: 8.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/1.144, allocations: 9.312 kB / 1.188 GB, free: 8.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007714/1.152, allocations: 0.957 MB / 1.189 GB, free: 7.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009296/1.161, allocations: 3.182 MB / 1.192 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/1.161, allocations: 357.9 kB / 1.192 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/1.164, allocations: 468.3 kB / 1.193 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/1.188, allocations: 7.907 MB / 1.2 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002673/1.188, allocations: 23.78 kB / 1.2 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002338/1.19, allocations: 211.9 kB / 1.2 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006808/1.191, allocations: 373 kB / 1.201 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.206, allocations: 5.933 MB / 1.207 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/1.257, allocations: 35.95 MB / 1.242 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/1.261, allocations: 2.135 MB / 1.244 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/1.263, allocations: 1.473 MB / 1.245 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/1.263, allocations: 21.3 kB / 1.245 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.992e-05/1.264, allocations: 59.81 kB / 1.245 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 4.087e-06/1.264, allocations: 4 kB / 1.245 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01517/1.279, allocations: 7.536 MB / 1.253 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/1.279, allocations: 72.72 kB / 1.253 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/1.282, allocations: 1.864 MB / 1.255 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/1.282, allocations: 49.7 kB / 1.255 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.284, allocations: 2.123 MB / 1.257 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005599/1.284, allocations: 0.5585 MB / 1.257 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000716/1.285, allocations: 403.7 kB / 1.258 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.285, allocations: 301.1 kB / 1.258 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/1.287, allocations: 1.058 MB / 1.259 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/1.289, allocations: 1.768 MB / 1.261 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/1.293, allocations: 3.049 MB / 1.264 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/1.293, allocations: 4 kB / 1.264 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00691/1.3, allocations: 3.921 MB / 1.268 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.3, allocations: 16.03 kB / 1.268 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/1.3, allocations: 24 kB / 1.268 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.302, allocations: 0.9311 MB / 1.268 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/1.304, allocations: 423.3 kB / 1.269 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/1.326, allocations: 22.76 MB / 1.291 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/1.329, allocations: 123.9 kB / 1.291 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/1.329, allocations: 96.08 kB / 1.291 GB, free: 7.879 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003715/1.333, allocations: 1.659 MB / 1.293 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008343/1.334, allocations: 257 kB / 1.293 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/1.34, allocations: 3.26 MB / 1.296 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.34, allocations: 7.969 kB / 1.296 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.34, allocations: 0 / 1.296 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.341, allocations: 0.5253 MB / 1.297 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007425/1.342, allocations: 24 kB / 1.297 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.344, allocations: 95.81 kB / 1.297 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/1.344, allocations: 137.1 kB / 1.297 GB, free: 1.844 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007045/1.351, allocations: 3.395 MB / 1.3 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00533/1.356, allocations: 3.662 MB / 1.304 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001485/1.358, allocations: 1.084 MB / 1.305 GB, free: 9.633 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002385/1.36, allocations: 1.229 MB / 1.306 GB, free: 8.391 MB / 1.045 GB Notification: Performance of Backend: time 8.62e-07/1.36, allocations: 0 / 1.306 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009436/1.37, allocations: 4.001 MB / 1.31 GB, free: 4.23 MB / 1.045 GB Notification: Performance of SimCode: time 0.01841/1.388, allocations: 8.521 MB / 1.318 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Templates: time 0.08283/1.471, allocations: 48.94 MB / 1.366 GB, free: 11.34 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches